- All Implemented Interfaces:
- Serializable,- Configuration
- Direct Known Subclasses:
- DefaultConfiguration,- MockConfiguration
Configuration classes, implementing the
 usual convenience API.- Author:
- Lukas Eder
- See Also:
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionbooleancommercial(Supplier<String> logMessage) Whether this is a commercial edition of jOOQ, logging a warning message, if not.final Configurationderive(DiagnosticsListener... newDiagnosticsListeners) Create a derived configuration from this one, with new diagnostics listeners.final Configurationderive(ExecuteListener... newExecuteListeners) Create a derived configuration from this one, with new execute listeners.final Configurationderive(MigrationListener... newMigrationListeners) Create a derived configuration from this one, with new migration listeners.final Configurationderive(ParseListener... newParseListeners) Create a derived configuration from this one, with new parse listeners.final Configurationderive(RecordListener... newRecordListeners) Create a derived configuration from this one, with new record listeners.final Configurationderive(TransactionListener... newTransactionListeners) Create a derived configuration from this one, with new transaction listeners.final Configurationderive(VisitListener... newVisitListeners) Create a derived configuration from this one, with new visit listeners.final ConfigurationderiveAppending(DiagnosticsListener... newDiagnosticsListeners) Create a derived configuration from this one, with appended diagnostics listeners.final ConfigurationderiveAppending(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) Create a derived configuration from this one, with appended diagnostics listener providers.final ConfigurationderiveAppending(ExecuteListener... newExecuteListeners) Create a derived configuration from this one, with appended execute listeners.final ConfigurationderiveAppending(ExecuteListenerProvider... newExecuteListenerProviders) Create a derived configuration from this one, with appended execute listener providers.final ConfigurationderiveAppending(MigrationListener... newMigrationListeners) Create a derived configuration from this one, with appended migration listeners.final ConfigurationderiveAppending(MigrationListenerProvider... newMigrationListenerProviders) Create a derived configuration from this one, with appended migration listener providers.final ConfigurationderiveAppending(ParseListener... newParseListeners) Create a derived configuration from this one, with appended parse listeners.final ConfigurationderiveAppending(ParseListenerProvider... newParseListenerProviders) Create a derived configuration from this one, with appended parse listener providers.final ConfigurationderiveAppending(PolicyProvider... newPolicyProviders) Create a derived configuration from this one, with appended policy providers.final ConfigurationderiveAppending(RecordListener... newRecordListeners) Create a derived configuration from this one, with appended record listeners.final ConfigurationderiveAppending(RecordListenerProvider... newRecordListenerProviders) Create a derived configuration from this one, with appended record listener providers.final ConfigurationderiveAppending(TransactionListener... newTransactionListeners) Create a derived configuration from this one, with appended transaction listeners.final ConfigurationderiveAppending(TransactionListenerProvider... newTransactionListenerProviders) Create a derived configuration from this one, with appended transaction listener providers.final ConfigurationderiveAppending(VisitListener... newVisitListeners) Create a derived configuration from this one, with appended visit listeners.final ConfigurationderiveAppending(VisitListenerProvider... newVisitListenerProviders) Create a derived configuration from this one, with appended visit listener providers.booleanrequireCommercial(Supplier<String> logMessage) Whether this is a commercial edition of jOOQ, throwing an exception with a message, if not.final Configurationset(DiagnosticsListener... newDiagnosticsListeners) Change this configuration to hold new diagnostics listeners.final Configurationset(ExecuteListener... newExecuteListeners) Change this configuration to hold new execute listeners.final Configurationset(MigrationListener... newMigrationListeners) Change this configuration to hold new migration listeners.final Configurationset(ParseListener... newParseListeners) Change this configuration to hold new parse listeners.final Configurationset(RecordListener... newRecordListeners) Change this configuration to hold new record listeners.final Configurationset(TransactionListener... newTransactionListeners) Change this configuration to hold new transaction listeners.final Configurationset(VisitListener... newVisitListeners) Change this configuration to hold a new visit listeners.final ConfigurationsetAppending(DiagnosticsListener... newDiagnosticsListeners) Change this configuration by appending new diagnostics listeners.final ConfigurationsetAppending(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) Change this configuration by appending new diagnostics listener providers.final ConfigurationsetAppending(ExecuteListener... newExecuteListeners) Change this configuration by appending new execute listeners.final ConfigurationsetAppending(ExecuteListenerProvider... newExecuteListenerProviders) Change this configuration by appending new execute listener providers.final ConfigurationsetAppending(MigrationListener... newMigrationListeners) Change this configuration by appending new migration listeners.final ConfigurationsetAppending(MigrationListenerProvider... newMigrationListenerProviders) Change this configuration to hold by appending new migration listener providers.final ConfigurationsetAppending(ParseListener... newParseListeners) Change this configuration by appending new parse listeners.final ConfigurationsetAppending(ParseListenerProvider... newParseListenerProviders) Change this configuration by appending new parse listener providers.final ConfigurationsetAppending(RecordListener... newRecordListeners) Change this configuration by appending new record listeners.final ConfigurationsetAppending(RecordListenerProvider... newRecordListenerProviders) Change this configuration by appending new record listener providers.final ConfigurationsetAppending(TransactionListener... newTransactionListeners) Change this configuration by appending new transaction listeners.final ConfigurationsetAppending(TransactionListenerProvider... newTransactionListenerProviders) Change this configuration by appending new transaction listener providers.final ConfigurationsetAppending(VisitListener... newVisitListeners) Change this configuration to hold new visit listeners.final ConfigurationsetAppending(VisitListenerProvider... newVisitListenerProviders) Change this configuration by appending new visit listener providers.Methods inherited from class java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.jooq.ConfigurationauditProvider, cacheProvider, charsetProvider, clock, commercial, commitProvider, connectionFactory, connectionProvider, converterProvider, data, data, data, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, derive, deriveSettings, diagnosticsListenerProviders, dialect, dsl, executeListenerProviders, executorProvider, family, formattingProvider, interpreterConnectionProvider, metaProvider, migrationListenerProviders, parseListenerProviders, policyProviders, recordListenerProviders, recordMapperProvider, recordUnmapperProvider, schemaMapping, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, set, settings, systemConnectionProvider, transactionListenerProviders, transactionProvider, transformProvider, unwrapperProvider, visitListenerProviders
- 
Constructor Details- 
AbstractConfigurationpublic AbstractConfiguration()
 
- 
- 
Method Details- 
setDescription copied from interface:ConfigurationChange this configuration to hold new record listeners.This will wrap the argument RecordListenerin aDefaultRecordListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newRecordListeners- The new record listener to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new record listeners.This will wrap the argument RecordListenerin aDefaultRecordListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newRecordListeners- The appended record listener to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new record listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newRecordListenerProviders- The appended record listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new execute listeners.This will wrap the argument ExecuteListenerin aDefaultExecuteListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newExecuteListeners- The new execute listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new execute listeners.This will wrap the argument ExecuteListenerin aDefaultExecuteListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newExecuteListeners- The appended execute listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new execute listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newExecuteListenerProviders- The appended execute listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new migration listeners.This will wrap the argument MigrationListenerin aDefaultMigrationListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newMigrationListeners- The new migration listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new migration listeners.This will wrap the argument MigrationListenerin aDefaultMigrationListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newMigrationListeners- The appended migration listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration to hold by appending new migration listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newMigrationListenerProviders- The appended migration listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold a new visit listeners.This will wrap the argument VisitListenerin aDefaultVisitListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newVisitListeners- The new visit listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration to hold new visit listeners.This will wrap the argument VisitListenerin aDefaultVisitListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newVisitListeners- The new visit listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new visit listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newVisitListenerProviders- The appended visit listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new transaction listeners.This will wrap the argument TransactionListenerin aDefaultTransactionListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newTransactionListeners- The new transaction listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new transaction listeners.This will wrap the argument TransactionListenerin aDefaultTransactionListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newTransactionListeners- The appended transaction listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingpublic final Configuration setAppending(TransactionListenerProvider... newTransactionListenerProviders) Description copied from interface:ConfigurationChange this configuration by appending new transaction listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newTransactionListenerProviders- The appended transaction listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new diagnostics listeners.This will wrap the argument DiagnosticsListenerin aDefaultDiagnosticsListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newDiagnosticsListeners- The new diagnostics listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new diagnostics listeners.This will wrap the argument DiagnosticsListenerin aDefaultDiagnosticsListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newDiagnosticsListeners- The new diagnostics listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingpublic final Configuration setAppending(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) Description copied from interface:ConfigurationChange this configuration by appending new diagnostics listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newDiagnosticsListenerProviders- The new diagnostics listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setDescription copied from interface:ConfigurationChange this configuration to hold new parse listeners.This will wrap the argument ParseListenerin aDefaultParseListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setin interface- Configuration
- Parameters:
- newParseListeners- The new parse listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new parse listeners.This will wrap the argument ParseListenerin aDefaultParseListenerProviderfor convenience.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newParseListeners- The appended parse listeners to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
setAppendingDescription copied from interface:ConfigurationChange this configuration by appending new parse listener providers.This method is not thread-safe and should not be used in globally available Configurationobjects.- Specified by:
- setAppendingin interface- Configuration
- Parameters:
- newParseListenerProviders- The appended parse listener providers to be contained in the changed configuration.
- Returns:
- The changed configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new record listeners.This will wrap the argument RecordListenerin aDefaultRecordListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newRecordListeners- The new record listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended record listeners.This will wrap the argument RecordListenerin aDefaultRecordListenerProviderfor convenience.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newRecordListeners- The appended record listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended record listener providers.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newRecordListenerProviders- The appended record listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new execute listeners.This will wrap the argument ExecuteListenerin aDefaultExecuteListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newExecuteListeners- The new execute listener to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended execute listeners.This will wrap the argument ExecuteListenerin aDefaultExecuteListenerProviderfor convenience.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newExecuteListeners- The appended execute listener to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended execute listener providers.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newExecuteListenerProviders- The appended execute listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new migration listeners.This will wrap the argument MigrationListenerin aDefaultMigrationListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newMigrationListeners- The new migration listener to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended migration listeners.This will wrap the argument MigrationListenerin aDefaultMigrationListenerProviderfor convenience.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newMigrationListeners- The appended migration listener to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingpublic final Configuration deriveAppending(MigrationListenerProvider... newMigrationListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with appended migration listener providers.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newMigrationListenerProviders- The appended migration listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new visit listeners.This will wrap the argument VisitListenerin aDefaultVisitListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newVisitListeners- The new visit listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended visit listeners.This will wrap the argument VisitListenerin aDefaultVisitListenerProviderfor convenience.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newVisitListeners- The appended visit listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended visit listener providers.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newVisitListenerProviders- The appended visit listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new transaction listeners.This will wrap the argument TransactionListenerin aDefaultTransactionListenerProviderfor convenience.- Specified by:
- derivein interface- Configuration
- Parameters:
- newTransactionListeners- The new transaction listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended transaction listeners.This will wrap the argument TransactionListenerin aDefaultTransactionListenerProviderfor convenience.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newTransactionListeners- The appended transaction listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingpublic final Configuration deriveAppending(TransactionListenerProvider... newTransactionListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with appended transaction listener providers.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newTransactionListenerProviders- The appended transaction listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new diagnostics listeners.- Specified by:
- derivein interface- Configuration
- Parameters:
- newDiagnosticsListeners- The new diagnostics listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended diagnostics listeners.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newDiagnosticsListeners- The appended diagnostics listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingpublic final Configuration deriveAppending(DiagnosticsListenerProvider... newDiagnosticsListenerProviders) Description copied from interface:ConfigurationCreate a derived configuration from this one, with appended diagnostics listener providers.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newDiagnosticsListenerProviders- The appended diagnostics listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveDescription copied from interface:ConfigurationCreate a derived configuration from this one, with new parse listeners.- Specified by:
- derivein interface- Configuration
- Parameters:
- newParseListeners- The new parse listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended parse listeners.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newParseListeners- The appended parse listeners to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended parse listener providers.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newParseListenerProviders- The appended parse listener providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
deriveAppendingDescription copied from interface:ConfigurationCreate a derived configuration from this one, with appended policy providers.- Specified by:
- deriveAppendingin interface- Configuration
- Parameters:
- newPolicyProviders- The appended policy providers to be contained in the derived configuration.
- Returns:
- The derived configuration.
 
- 
commercialDescription copied from interface:ConfigurationWhether this is a commercial edition of jOOQ, logging a warning message, if not.- Specified by:
- commercialin interface- Configuration
 
- 
requireCommercialDescription copied from interface:ConfigurationWhether this is a commercial edition of jOOQ, throwing an exception with a message, if not.- Specified by:
- requireCommercialin interface- Configuration
- Throws:
- DataAccessException
 
 
-