@Configuration @ConditionalOnMissingBean(value=org.jooq.DSLContext.class) @EnableConfigurationProperties(value=JooqProperties.class) public static class JooqAutoConfiguration.DslContextConfiguration extends Object
Constructor and Description |
---|
DslContextConfiguration(JooqProperties properties,
org.jooq.ConnectionProvider connectionProvider,
DataSource dataSource,
org.springframework.beans.factory.ObjectProvider<org.jooq.TransactionProvider> transactionProvider,
org.springframework.beans.factory.ObjectProvider<org.jooq.RecordMapperProvider> recordMapperProvider,
org.springframework.beans.factory.ObjectProvider<org.jooq.RecordUnmapperProvider> recordUnmapperProvider,
org.springframework.beans.factory.ObjectProvider<org.jooq.conf.Settings> settings,
org.springframework.beans.factory.ObjectProvider<org.jooq.RecordListenerProvider[]> recordListenerProviders,
org.jooq.ExecuteListenerProvider[] executeListenerProviders,
org.springframework.beans.factory.ObjectProvider<org.jooq.VisitListenerProvider[]> visitListenerProviders,
org.springframework.beans.factory.ObjectProvider<org.jooq.TransactionListenerProvider[]> transactionListenerProviders) |
Modifier and Type | Method and Description |
---|---|
org.jooq.impl.DefaultDSLContext |
dslContext(org.jooq.Configuration configuration) |
org.jooq.impl.DefaultConfiguration |
jooqConfiguration() |
public DslContextConfiguration(JooqProperties properties, org.jooq.ConnectionProvider connectionProvider, DataSource dataSource, org.springframework.beans.factory.ObjectProvider<org.jooq.TransactionProvider> transactionProvider, org.springframework.beans.factory.ObjectProvider<org.jooq.RecordMapperProvider> recordMapperProvider, org.springframework.beans.factory.ObjectProvider<org.jooq.RecordUnmapperProvider> recordUnmapperProvider, org.springframework.beans.factory.ObjectProvider<org.jooq.conf.Settings> settings, org.springframework.beans.factory.ObjectProvider<org.jooq.RecordListenerProvider[]> recordListenerProviders, org.jooq.ExecuteListenerProvider[] executeListenerProviders, org.springframework.beans.factory.ObjectProvider<org.jooq.VisitListenerProvider[]> visitListenerProviders, org.springframework.beans.factory.ObjectProvider<org.jooq.TransactionListenerProvider[]> transactionListenerProviders)
@Bean public org.jooq.impl.DefaultDSLContext dslContext(org.jooq.Configuration configuration)
@Bean @ConditionalOnMissingBean(value=org.jooq.Configuration.class) public org.jooq.impl.DefaultConfiguration jooqConfiguration()
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.