• Lukas Eder's avatar
    Detect jOOQ SQLDialect through jOOQ's JDBCUtils · 44cd3352
    Lukas Eder authored
    This change updates SqlDialectLookup to delegate to jOOQ's JDBCUtils
    rather than creating an additional mapping between
    org.springframework.boot.jdbc.DatabaseDriver and org.jooq.SQLDialect.
    
    This has the following advantages:
    
    1. jOOQ's `SQLDialect` to URL mappings are already maintained by jOOQ,
       so no additional changes will be necessary to Spring Boot in the
       future.
    2. Delegating to jOOQ means that the mapping also works for the
       commercial jOOQ distributions, e.g. when working with DB2, Oracle,
       SQL Server, etc., as the JDBCUtils of the commercial distribution
       also contains the relevant logic to map to e.g. `SQLDialect.DB2`,
       `SQLDialect.ORACLE`, `SQLDialect.SQLSERVER` (which are not
       available from the open source distribution linked by Spring Boot
       by default).
    
    Closes gh-11466
    44cd3352
Name
Last commit
Last update
.github Loading commit data...
.mvn Loading commit data...
ci Loading commit data...
eclipse Loading commit data...
spring-boot-project Loading commit data...
spring-boot-samples Loading commit data...
spring-boot-samples-invoker Loading commit data...
spring-boot-tests Loading commit data...
.editorconfig Loading commit data...
.gitignore Loading commit data...
.settings-template.xml Loading commit data...
CODE_OF_CONDUCT.adoc Loading commit data...
CONTRIBUTING.adoc Loading commit data...
LICENSE.txt Loading commit data...
README.adoc Loading commit data...
SUPPORT.adoc Loading commit data...
mvnw Loading commit data...
mvnw.cmd Loading commit data...
pom.xml Loading commit data...