@Configuration @ConditionalOnClass(value=org.jooq.DSLContext.class) @ConditionalOnBean(value=javax.sql.DataSource.class) @AutoConfigureAfter(value={DataSourceAutoConfiguration.class,TransactionAutoConfiguration.class}) public class JooqAutoConfiguration extends Object
Auto-configuration
for JOOQ.Modifier and Type | Class and Description |
---|---|
static class |
JooqAutoConfiguration.DslContextConfiguration |
Constructor and Description |
---|
JooqAutoConfiguration() |
Modifier and Type | Method and Description |
---|---|
org.jooq.impl.DataSourceConnectionProvider |
dataSourceConnectionProvider(DataSource dataSource) |
org.jooq.impl.DefaultExecuteListenerProvider |
jooqExceptionTranslatorExecuteListenerProvider() |
SpringTransactionProvider |
transactionProvider(org.springframework.transaction.PlatformTransactionManager txManager) |
@Bean @ConditionalOnMissingBean(value=org.jooq.ConnectionProvider.class) public org.jooq.impl.DataSourceConnectionProvider dataSourceConnectionProvider(DataSource dataSource)
@Bean @ConditionalOnBean(value=org.springframework.transaction.PlatformTransactionManager.class) public SpringTransactionProvider transactionProvider(org.springframework.transaction.PlatformTransactionManager txManager)
@Bean @Order(value=0) public org.jooq.impl.DefaultExecuteListenerProvider jooqExceptionTranslatorExecuteListenerProvider()
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.