@Configuration @ConditionalOnClass(value=org.jooq.DSLContext.class) @ConditionalOnBean(value=javax.sql.DataSource.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() |
org.springframework.boot.autoconfigure.jooq.SpringTransactionProvider |
transactionProvider(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 org.springframework.boot.autoconfigure.jooq.SpringTransactionProvider transactionProvider(PlatformTransactionManager txManager)
@Bean public org.jooq.impl.DefaultExecuteListenerProvider jooqExceptionTranslatorExecuteListenerProvider()
Copyright © 2016 Pivotal Software, Inc.. All rights reserved.