-
-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from kdhrubo/feature/59_mysql_support
Feature/59 mysql support
- Loading branch information
Showing
9 changed files
with
319 additions
and
42 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
19 changes: 19 additions & 0 deletions
19
src/main/java/com/homihq/db2rest/config/JOOQConfiguration.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
package com.homihq.db2rest.config; | ||
|
||
import org.jooq.conf.RenderQuotedNames; | ||
import org.jooq.impl.DefaultConfiguration; | ||
import org.springframework.boot.autoconfigure.jooq.DefaultConfigurationCustomizer; | ||
import org.springframework.context.annotation.Bean; | ||
import org.springframework.context.annotation.Configuration; | ||
|
||
@Configuration | ||
public class JOOQConfiguration { | ||
@Bean | ||
public DefaultConfigurationCustomizer configurationCustomiser() { | ||
return (DefaultConfiguration c) -> c.settings() | ||
//.withRenderCatalog(false) | ||
//.withRenderSchema(false) | ||
.withRenderFormatted(true) | ||
.withRenderQuotedNames(RenderQuotedNames.NEVER); | ||
} | ||
} |
Oops, something went wrong.