Class JooqAutoConfiguration
java.lang.Object
org.springframework.boot.autoconfigure.jooq.JooqAutoConfiguration
@Configuration(proxyBeanMethods=false)
@ConditionalOnClass(org.jooq.DSLContext.class)
@ConditionalOnBean(javax.sql.DataSource.class)
@AutoConfigureAfter({DataSourceAutoConfiguration.class,TransactionAutoConfiguration.class})
public class JooqAutoConfiguration
extends Object
Auto-configuration
for JOOQ.- Since:
- 1.3.0
- Author:
- Andreas Ahlenstorf, Michael Simons, Dmytro Nosan
-
Nested Class Summary
Nested Classes -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionorg.jooq.impl.DataSourceConnectionProvider
dataSourceConnectionProvider
(DataSource dataSource) org.jooq.impl.DefaultExecuteListenerProvider
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) public SpringTransactionProvider transactionProvider(PlatformTransactionManager txManager) -
jooqExceptionTranslatorExecuteListenerProvider
-