Class JooqAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.jooq.JooqAutoConfiguration
@AutoConfiguration(after={DataSourceAutoConfiguration.class,TransactionAutoConfiguration.class})
@ConditionalOnClass(org.jooq.DSLContext.class)
@ConditionalOnBean(javax.sql.DataSource.class)
public class JooqAutoConfiguration
extends Object
Auto-configuration
for JOOQ.- Since:
- 1.3.0
- Author:
- Andreas Ahlenstorf, Michael Simons, Dmytro Nosan
-
Nested Class Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionorg.jooq.impl.DataSourceConnectionProvider
dataSourceConnectionProvider
(DataSource dataSource) org.jooq.impl.DefaultExecuteListenerProvider
jooqExceptionTranslatorExecuteListenerProvider
(ExceptionTranslatorExecuteListener exceptionTranslatorExecuteListener) transactionProvider
(PlatformTransactionManager txManager)
-
Constructor Details
-
JooqAutoConfiguration
public JooqAutoConfiguration()
-
-
Method Details
-
dataSourceConnectionProvider
@Bean @ConditionalOnMissingBean(org.jooq.ConnectionProvider.class) public org.jooq.impl.DataSourceConnectionProvider dataSourceConnectionProvider(DataSource dataSource) -
transactionProvider
@Bean @ConditionalOnBean(org.springframework.transaction.PlatformTransactionManager.class) @ConditionalOnMissingBean(org.jooq.TransactionProvider.class) public SpringTransactionProvider transactionProvider(PlatformTransactionManager txManager) -
jooqExceptionTranslatorExecuteListenerProvider
@Bean @Order(0) public org.jooq.impl.DefaultExecuteListenerProvider jooqExceptionTranslatorExecuteListenerProvider(ExceptionTranslatorExecuteListener exceptionTranslatorExecuteListener) -
jooqExceptionTranslator
-