Class JooqProperties
- java.lang.Object
- org.springframework.boot.autoconfigure.jooq.JooqProperties
@ConfigurationProperties(prefix="spring.jooq") public class JooqProperties extends Object
Configuration properties for the JOOQ database library.- Since:
- 1.3.0
Constructor Summary
Constructors Constructor Description JooqProperties()
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.jooq.SQLDialect
determineSqlDialect(DataSource dataSource)
Determine theSQLDialect
to use based on this configuration and the primaryDataSource
.org.jooq.SQLDialect
getSqlDialect()
void
setSqlDialect(org.jooq.SQLDialect sqlDialect)
Constructor Detail
JooqProperties
public JooqProperties()
Method Detail
getSqlDialect
public org.jooq.SQLDialect getSqlDialect()
setSqlDialect
public void setSqlDialect(org.jooq.SQLDialect sqlDialect)
determineSqlDialect
public org.jooq.SQLDialect determineSqlDialect(DataSource dataSource)
Determine theSQLDialect
to use based on this configuration and the primaryDataSource
.- Parameters:
dataSource
- the data source- Returns:
- the
SQLDialect
to use for thatDataSource