@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(PlatformTransactionManager txManager) |
@Bean @ConditionalOnMissingBean public org.jooq.impl.DataSourceConnectionProvider dataSourceConnectionProvider(DataSource dataSource)
@Bean @ConditionalOnBean(value=org.springframework.transaction.PlatformTransactionManager.class) public SpringTransactionProvider transactionProvider(PlatformTransactionManager txManager)
Copyright © 2019 Pivotal Software, Inc.. All rights reserved.