Class JooqProperties
java.lang.Object
org.springframework.boot.jooq.autoconfigure.JooqProperties
Configuration properties for the jOOQ database library.
- Since:
- 4.0.0
- Author:
- Andreas Ahlenstorf, Michael Simons, Moritz Halbritter
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jooq.SQLDialectdetermineSqlDialect(DataSource dataSource) Determine theSQLDialectto use based on this configuration and the primaryDataSource.@Nullable Resource@Nullable org.jooq.SQLDialectvoidvoidsetSqlDialect(@Nullable org.jooq.SQLDialect sqlDialect)
-
Constructor Details
-
JooqProperties
public JooqProperties()
-
-
Method Details
-
getSqlDialect
public @Nullable org.jooq.SQLDialect getSqlDialect() -
setSqlDialect
public void setSqlDialect(@Nullable org.jooq.SQLDialect sqlDialect) -
getConfig
-
setConfig
-
determineSqlDialect
Determine theSQLDialectto use based on this configuration and the primaryDataSource.- Parameters:
dataSource- the data source- Returns:
- the
SQLDialectto use for thatDataSource
-