Uses of Class
org.jooq.conf.Settings
Package
Description
This package contains jOOQ's public API.
This package contains jOOQ's implementation classes.
JDBC tooling.
-
Uses of Settings in org.jooq
Modifier and TypeMethodDescription@NotNull Settings
Configuration.settings()
Retrieve the runtime configuration settings.@NotNull Settings
DAO.settings()
The settings wrapped by this context.@NotNull Settings
Scope.settings()
The settings wrapped by this context.Modifier and TypeMethodDescription@NotNull Configuration
Create a derived configuration from this one, with new settings.@NotNull Configuration
Change this configuration to hold a new settings.Modifier and TypeMethodDescription@NotNull Configuration
Configuration.deriveSettings
(Function<? super Settings, ? extends Settings> newSettings) Create a derived configuration from this one, with new settings constructed from a clone of the current settings.@NotNull Configuration
Configuration.deriveSettings
(Function<? super Settings, ? extends Settings> newSettings) Create a derived configuration from this one, with new settings constructed from a clone of the current settings. -
Uses of Settings in org.jooq.conf
Modifier and TypeMethodDescriptionstatic final Settings
Clone some settings.ObjectFactory.createSettings()
Create an instance ofSettings
static final Settings
SettingsTools.defaultSettings()
Retrieve the configured default settings.Settings.withApplyWorkaroundFor7962
(Boolean value) Settings.withAttachRecords
(Boolean value) Settings.withBackslashEscaping
(BackslashEscaping value) Whether string literals should be escaped with backslash.Settings.withBatchSize
(Integer value) A property specifying a batch size that should be applied to all automatically createdBatchedConnection
instances.Settings.withBindOffsetDateTimeType
(Boolean value) Settings.withBindOffsetTimeType
(Boolean value) Settings.withCacheParsingConnection
(Boolean value) Settings.withCacheParsingConnectionLRUCacheSize
(Integer value) The default implementation of the ParsingConnection cache's LRU cache size.Settings.withCachePreparedStatementInLoader
(Boolean value) Settings.withCacheRecordMappers
(Boolean value) Settings.withDebugInfoOnStackTrace
(Boolean value) Settings.withDelimiter
(String value) [#5826] The delimiter character to be used to delimit statements in batches.Settings.withEmulateMultiset
(NestedCollectionEmulation value) [#3884] HowMULTISET
support should be emulated.Settings.withEmulateOnDuplicateKeyUpdateOnPrimaryKeyOnly
(Boolean value) Settings.withExecuteDeleteWithoutWhere
(ExecuteWithoutWhere value) [#6771] Specifies whether DELETE statements are allowed to be executed lacking a WHERE clause.Settings.withExecuteListenerEndInvocationOrder
(InvocationOrder value) The order of invocation for [action]end() methods registeredExecuteListener
s.Settings.withExecuteListenerStartInvocationOrder
(InvocationOrder value) The order of invocation for [action]start() methods registeredExecuteListener
s.Settings.withExecuteLogging
(Boolean value) Settings.withExecuteUpdateWithoutWhere
(ExecuteWithoutWhere value) [#6771] Specifies whether UPDATE statements are allowed to be executed lacking a WHERE clause.Settings.withExecuteWithOptimisticLocking
(Boolean value) Settings.withExecuteWithOptimisticLockingExcludeUnversioned
(Boolean value) Settings.withFetchIntermediateResult
(FetchIntermediateResult value) Whether to fetch data into intermediateResult
instances.Settings.withFetchServerOutputSize
(Integer value) Whether server output should be fetched after each query execution.Settings.withFetchSize
(Integer value) The default JDBC fetchSize property that should be applied to all jOOQ queries, for which no specific fetchSize value was specified.Settings.withFetchTriggerValuesAfterSQLServerOutput
(Boolean value) Settings.withFetchWarnings
(Boolean value) Settings.withForceIntegerTypesOnZeroScaleDecimals
(Boolean value) Settings.withInlineThreshold
(Integer value) The maximum number of allowed bind variables before inlining all values where0
uses the dialect defaults:SQLDialect.ACCESS
: 768SQLDialect.ASE
: 2000SQLDialect.INGRES
: 1024SQLDialect.ORACLE
: 32767SQLDialect.POSTGRES
: 32767SQLDialect.SQLITE
: 999SQLDialect.SQLSERVER
: 2100Settings.withInListPadBase
(Integer value) [#7095] The base to use to calculate the powers of when applying in list padding.Settings.withInListPadding
(Boolean value) Settings.withInsertUnchangedRecords
(Boolean value) Settings.withInterpreterDelayForeignKeyDeclarations
(Boolean value) Settings.withInterpreterDialect
(SQLDialect value) [#7337] The dialect that should be used to interpret SQL DDL statements.Settings.withInterpreterLocale
(Locale value) The Locale to be used with any interpreter locale dependent logic, defaulting togetLocale()
.[#9633] The case sensitivity of identifiers used when interpreting SQL DDL statements.Settings.withInterpreterSearchPath
(Collection<InterpreterSearchSchema> values) Settings.withInterpreterSearchPath
(List<InterpreterSearchSchema> interpreterSearchPath) Settings.withInterpreterSearchPath
(InterpreterSearchSchema... values) Settings.withLocale
(Locale value) The Locale to be used with any locale dependent logic if there is not a more specific locale available.Settings.withMapConstructorParameterNames
(Boolean value) Settings.withMapConstructorParameterNamesInKotlin
(Boolean value) Settings.withMapConstructorPropertiesParameterNames
(Boolean value) Settings.withMapJPAAnnotations
(Boolean value) Settings.withMapRecordComponentParameterNames
(Boolean value) Settings.withMaxRows
(Integer value) The default JDBC maxRows property that should be applied to all jOOQ queries, for which no specific maxRows value was specified.Settings.withMetaIncludeSystemIndexes
(Boolean value) Settings.withMetaIncludeSystemSequences
(Boolean value) Settings.withMigrationAllowsUndo
(Boolean value) Settings.withMigrationAutoBaseline
(Boolean value) Settings.withMigrationAutoValidation
(Boolean value) Settings.withMigrationIgnoreDefaultTimestampPrecisionDiffs
(Boolean value) Settings.withMigrationListenerEndInvocationOrder
(InvocationOrder value) The order of invocation for [action]end() methods registeredMigrationListener
s.Settings.withMigrationListenerStartInvocationOrder
(InvocationOrder value) The order of invocation for [action]start() methods registeredMigrationListener
s.Settings.withMigrationRevertUntracked
(Boolean value) Settings.withMigrationSchemata
(Collection<MigrationSchema> values) Settings.withMigrationSchemata
(List<MigrationSchema> migrationSchemata) Settings.withMigrationSchemata
(MigrationSchema... values) Settings.withNamePathSeparator
(String value) The character(s) to be used as a separator in paths encoded in aName
Settings.withParamCastMode
(ParamCastMode value) Whether rendered bind values should be cast to their respective type.Settings.withParamType
(ParamType value) Specify how bind variables are to be rendered.Settings.withParseAppendMissingTableReferences
(Transformation value) Transform the parsed SQL to append missing table references to the query'sFROM
orUSING
clause, if applicable.Settings.withParseDateFormat
(String value) The date format to use when parsing functions whose behaviour depends on some session date format, such as NLS_DATE_FORMAT in OracleSettings.withParseDialect
(SQLDialect value) [#7337] The input dialect that should be chosen to disambiguate ambiguous SQL syntax.Settings.withParseIgnoreComments
(Boolean value) Settings.withParseIgnoreCommentStart
(String value) [#8325] The ignore comment start tokenSettings.withParseIgnoreCommentStop
(String value) [#8325] The ignore comment stop tokenSettings.withParseLocale
(Locale value) The Locale to be used with any parser locale dependent logic, defaulting togetLocale()
.Settings.withParseMetaDefaultExpressions
(Boolean value) Settings.withParseNameCase
(ParseNameCase value) [#7337] The default name case for parsed identifiers.Settings.withParseNamedParamPrefix
(String value) The prefix to use for named parameters in parsed SQL.Settings.withParseRetainCommentsBetweenQueries
(Boolean value) Settings.withParseSearchPath
(Collection<ParseSearchSchema> values) Settings.withParseSearchPath
(List<ParseSearchSchema> parseSearchPath) Settings.withParseSearchPath
(ParseSearchSchema... values) Settings.withParseSetCommands
(Boolean value) Settings.withParseTimestampFormat
(String value) The timestamp format to use when parsing functions whose behaviour depends on some session date format, such as NLS_TIMESTAMP_FORMAT in OracleSettings.withParseUnknownFunctions
(ParseUnknownFunctions value) [#7344] Whether the parser should accept unknown functions.Settings.withParseUnsupportedSyntax
(ParseUnsupportedSyntax value) [#5917] Whether the parser should accept unsupported (but known) syntax.Settings.withParseWithMetaLookups
(ParseWithMetaLookups value) [#7163] Whether the parser should perform meta lookups in the Configuration's MetaProvider.Settings.withQueryPoolable
(QueryPoolable value) The default JDBC poolable property that should be applied to all jOOQ queries, for which no specific poolable flag was specified.Settings.withQueryTimeout
(Integer value) The default JDBC queryTimeout property that should be applied to all jOOQ queries, for which no specific queryTimeout was specified.Settings.withReadonlyInsert
(WriteIfReadonly value) Settings.withReadonlyTableRecordInsert
(WriteIfReadonly value) [#9864] The behaviour when trying to insert into readonly columns usingTableRecord.insert()
.Settings.withReadonlyUpdatableRecordUpdate
(WriteIfReadonly value) [#9864] The behaviour when trying to update a readonly column usingUpdatableRecord.update()
.Settings.withReadonlyUpdate
(WriteIfReadonly value) Settings.withRecordListenerEndInvocationOrder
(InvocationOrder value) The order of invocation for [action]end() methods registeredRecordListener
s.Settings.withRecordListenerStartInvocationOrder
(InvocationOrder value) The order of invocation for [action]start() methods registeredRecordListener
s.Settings.withReflectionCaching
(Boolean value) Settings.withRenderCatalog
(Boolean value) Settings.withRenderCoalesceToEmptyStringInConcat
(Boolean value) Settings.withRenderDefaultNullability
(RenderDefaultNullability value) Whether theNullability.DEFAULT
nullablity should be rendered in generated DDL, and how it should be rendered.Settings.withRenderFormatted
(Boolean value) Settings.withRenderFormatting
(RenderFormatting value) All sorts of formatting flags / settings.Settings.withRenderGroupConcatMaxLenSessionVariable
(Boolean value) Settings.withRenderImplicitJoinType
(RenderImplicitJoinType value) The join type to be generated by implicit joins.Settings.withRenderImplicitWindowRange
(RenderImplicitWindowRange value) Whether to render an explicit windowRANGE
clause when an implicit clause is applied.Settings.withRenderKeywordCase
(RenderKeywordCase value) Whether the case ofKeyword
references should be modified in any way.Settings.withRenderKeywordStyle
(RenderKeywordStyle value) Deprecated.Settings.withRenderLocale
(Locale value) The Locale to be used with any render locale dependent logic (as e.g.Settings.withRenderMapping
(RenderMapping value) Configure render mapping for runtime schema / table rewriting in generated SQL.Settings.withRenderNameCase
(RenderNameCase value) Whether the case ofName
references should be modified in any way.Settings.withRenderNamedParamPrefix
(String value) The prefix to use for named parameters in generated SQL.Settings.withRenderNameStyle
(RenderNameStyle value) Deprecated.- 3.12.0 - [#5909] - UseRenderQuotedNames
andRenderNameCase
instead.Settings.withRenderOptionalAsKeywordForFieldAliases
(RenderOptionalKeyword value) Whether to render the optionalAS
keyword in table aliases, if it is optional in the output dialect.Settings.withRenderOptionalAsKeywordForTableAliases
(RenderOptionalKeyword value) Whether to render the optionalAS
keyword in table aliases, if it is optional in the output dialect.Settings.withRenderOptionalInnerKeyword
(RenderOptionalKeyword value) Whether to render the optionalINNER
keyword inINNER JOIN
, if it is optional in the output dialect.Settings.withRenderOptionalOuterKeyword
(RenderOptionalKeyword value) Whether to render the optionalOUTER
keyword inOUTER JOIN
, if it is optional in the output dialect.Settings.withRenderOrderByRownumberForEmulatedPagination
(Boolean value) Settings.withRenderOutputForSQLServerReturningClause
(Boolean value) Settings.withRenderParenthesisAroundSetOperationQueries
(Boolean value) Settings.withRenderQuotedNames
(RenderQuotedNames value) Whether rendered schema, table, column names, etc should be quoted.Settings.withRenderScalarSubqueriesForStoredFunctions
(Boolean value) Settings.withRenderSchema
(Boolean value) Settings.withReturnAllOnUpdatableRecord
(Boolean value) Settings.withReturnIdentityOnUpdatableRecord
(Boolean value) Settings.withReturnRecordToPojo
(Boolean value) Settings.withStatementType
(StatementType value) The type of statement that is to be executed.Settings.withThrowExceptions
(ThrowExceptions value) A strategy defining how exceptions from the database / JDBC driver should be propagatedSettings.withTransactionListenerEndInvocationOrder
(InvocationOrder value) The order of invocation for [action]end() methods registeredTransactionListener
s.Settings.withTransactionListenerStartInvocationOrder
(InvocationOrder value) The order of invocation for [action]start() methods registeredTransactionListener
s.Settings.withTransformAnsiJoinToTableLists
(Boolean value) Transform a subquery from an IN condition with LIMIT to an equivalent derived table.Settings.withTransformQualify
(Transformation value) Transform theQUALIFY
clause to an equivalent derived table to filter on window functions.Settings.withTransformRownum
(Transformation value) TransformROWNUM
expressions to correspondingLIMIT
clauses orROW_NUMBER()
expressions.Settings.withTransformTableListsToAnsiJoin
(Boolean value) Transform arithmetic expressions on literals and bind variables.Settings.withUpdatablePrimaryKeys
(Boolean value) Settings.withUpdateRecordTimestamp
(Boolean value) Settings.withUpdateRecordVersion
(Boolean value) Settings.withUpdateUnchangedRecords
(UpdateUnchangedRecords value) WhetherUpdatableRecord.update()
calls should be executed if the record is unchanged.Settings.withVisitListenerEndInvocationOrder
(InvocationOrder value) The order of invocation for [action]end() methods registeredVisitListener
s.Settings.withVisitListenerStartInvocationOrder
(InvocationOrder value) The order of invocation for [action]start() methods registeredVisitListener
s.Modifier and TypeMethodDescriptionjakarta.xml.bind.JAXBElement<Settings>
ObjectFactory.createSettings
(Settings value) Modifier and TypeMethodDescriptionstatic final Settings
Clone some settings.jakarta.xml.bind.JAXBElement<Settings>
ObjectFactory.createSettings
(Settings value) static final boolean
SettingsTools.executePreparedStatements
(Settings settings) Whether aPreparedStatement
should be executed.static final boolean
SettingsTools.executeStaticStatements
(Settings settings) Whether staticStatement
should be executed.static final BackslashEscaping
SettingsTools.getBackslashEscaping
(Settings settings) Get the value BackslashEscaping value.static final int
SettingsTools.getBatchSize
(Settings settings) Return the specifiedgetBatchSize()
.static final ExecuteWithoutWhere
SettingsTools.getExecuteDeleteWithoutWhere
(Settings settings) Lazy access togetExecuteDeleteWithoutWhere()
.static final ExecuteWithoutWhere
SettingsTools.getExecuteUpdateWithoutWhere
(Settings settings) Lazy access togetExecuteUpdateWithoutWhere()
.static final int
SettingsTools.getFetchServerOutputSize
(int fetchServerOutputSize, Settings settings) static final int
SettingsTools.getFetchSize
(int fetchSize, Settings settings) static final int
SettingsTools.getMaxRows
(int maxRows, Settings settings) static final ParamType
SettingsTools.getParamType
(Settings settings) Get the parameter type from the settings.static final QueryPoolable
SettingsTools.getQueryPoolable
(QueryPoolable poolable, Settings settings) static final int
SettingsTools.getQueryTimeout
(int timeout, Settings settings) static final RenderKeywordCase
SettingsTools.getRenderKeywordCase
(Settings settings) Backwards compatible access toRenderKeywordCase
and/orRenderKeywordStyle
(the latter being deprecated).static final RenderMapping
SettingsTools.getRenderMapping
(Settings settings) Lazy access toRenderMapping
.static final RenderNameCase
SettingsTools.getRenderNameCase
(Settings settings) Backwards compatible access toRenderNameCase
and/orRenderNameStyle
(the latter being deprecated).static final RenderQuotedNames
SettingsTools.getRenderQuotedNames
(Settings settings) Backwards compatible access toRenderQuotedNames
and/orRenderNameStyle
(the latter being deprecated).static final StatementType
SettingsTools.getStatementType
(Settings settings) Get the statement type from the settings.static final TransformUnneededArithmeticExpressions
SettingsTools.getTransformUnneededArithmeticExpressions
(Settings settings) Lazy access togetTransformUnneededArithmeticExpressions()
.static final Locale
SettingsTools.interpreterLocale
(Settings settings) The interpreter locale that is applicable, or the default locale if no such locale is configured.static final Locale
The render locale that is applicable, or the default locale if no such locale is configured.static final Locale
SettingsTools.parseLocale
(Settings settings) The parser locale that is applicable, or the default locale if no such locale is configured.static final boolean
SettingsTools.parsingConnectionCaching
(Settings settings) Whether parsing connection caching is active.static final boolean
SettingsTools.recordMapperCaching
(Settings settings) Whether record mapper caching is active.static final boolean
SettingsTools.reflectionCaching
(Settings settings) Whether reflection caching is active.static final Locale
SettingsTools.renderLocale
(Settings settings) The render locale that is applicable, or the default locale if no such locale is configured.static final boolean
SettingsTools.updatablePrimaryKeys
(Settings settings) Whether primary keys should be updatable. -
Uses of Settings in org.jooq.impl
Modifier and TypeMethodDescriptionDAOImpl.settings()
final Settings
DefaultConfiguration.settings()
Modifier and TypeMethodDescriptionfinal Configuration
final Configuration
final void
DefaultConfiguration.setSettings
(Settings newSettings) static @NotNull DSLContext
DSL.using
(io.r2dbc.spi.ConnectionFactory connectionFactory, SQLDialect dialect, Settings settings) Create an executor with a custom R2DBC connection factory, a dialect and settings configured.static @NotNull DSLContext
DSL.using
(io.r2dbc.spi.Connection connection, SQLDialect dialect, Settings settings) Create an executor with a custom R2DBC connection, a dialect and settings configured.static @NotNull DSLContext
DSL.using
(Connection connection, Settings settings) Create an executor with a connection, a dialect and settings configured.static @NotNull DSLContext
DSL.using
(Connection connection, SQLDialect dialect, Settings settings) Create an executor with a connection, a dialect and settings configured.static @NotNull DSLContext
DSL.using
(DataSource datasource, SQLDialect dialect, Settings settings) Create an executor with a data source, a dialect and settings configured.static @NotNull DSLContext
DSL.using
(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings) Create an executor with a custom connection provider, a dialect and settings configured.static @NotNull DSLContext
DSL.using
(SQLDialect dialect, Settings settings) Create an executor with a dialect and settings configured.Modifier and TypeMethodDescriptionfinal Configuration
DefaultConfiguration.deriveSettings
(Function<? super Settings, ? extends Settings> newSettings) final Configuration
DefaultConfiguration.deriveSettings
(Function<? super Settings, ? extends Settings> newSettings) ModifierConstructorDescriptionDefaultCloseableDSLContext
(io.r2dbc.spi.ConnectionFactory connectionFactory, SQLDialect dialect, Settings settings) DefaultCloseableDSLContext
(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings) DefaultDSLContext
(io.r2dbc.spi.ConnectionFactory connectionFactory, SQLDialect dialect, Settings settings) DefaultDSLContext
(Connection connection, SQLDialect dialect, Settings settings) DefaultDSLContext
(DataSource datasource, SQLDialect dialect, Settings settings) DefaultDSLContext
(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings) DefaultDSLContext
(SQLDialect dialect, Settings settings) -
Uses of Settings in org.jooq.tools.jdbc
Modifier and TypeMethodDescriptionModifier and TypeMethodDescriptionMockConfiguration.deriveSettings
(Function<? super Settings, ? extends Settings> newSettings) MockConfiguration.deriveSettings
(Function<? super Settings, ? extends Settings> newSettings)
RenderKeywordCase
instead.