Class JooqConfigurationProperties

java.lang.Object
io.micronaut.configuration.jooq.JooqConfigurationProperties

@EachProperty("jooq.datasources") public final class JooqConfigurationProperties extends Object
Configuration for jOOQ.
Since:
1.2.0
Author:
Vladimir Kulev
  • Constructor Details

    • JooqConfigurationProperties

      public JooqConfigurationProperties()
  • Method Details

    • getSqlDialect

      public SQLDialect getSqlDialect()
      SQL dialect to use. If null, will be detected automatically.
      Returns:
      SQL dialect
    • setSqlDialect

      public void setSqlDialect(SQLDialect sqlDialect)
      SQL dialect to use. Will be detected automatically by default.
      Parameters:
      sqlDialect - SQL dialect
    • isJsonConverterEnabled

      public boolean isJsonConverterEnabled()
      If enable JsonConverterProvider bean to use Jackson for JSON and JSONB types.
      Returns:
      boolean
      Since:
      4.1.0
    • setJsonConverterEnabled

      public void setJsonConverterEnabled(boolean jsonConverterEnabled)
      Set if enable JsonConverterProvider bean to use Jackson for JSON and JSONB types.
      Parameters:
      jsonConverterEnabled - Enable JSON mapping
      Since:
      4.1.0
    • determineSqlDialect

      public SQLDialect determineSqlDialect(DataSource dataSource)
      Resolve SQLDialect to be used for the data source. If SQL dialect is not set explicitly, automatic detection will be done.
      Parameters:
      dataSource - data source for automatic detection
      Returns:
      Effective SQL dialect