@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.impl.DataSourceConnectionProvider.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 public org.jooq.impl.DefaultExecuteListenerProvider jooqExceptionTranslatorExecuteListenerProvider()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.