Uses of Class
org.jooq.conf.Settings
Packages that use 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 SettingsConfiguration.settings()Retrieve the runtime configuration settings.@NotNull SettingsDAO.settings()The settings wrapped by this context.@NotNull SettingsScope.settings()The settings wrapped by this context.Modifier and TypeMethodDescription@NotNull ConfigurationCreate a derived configuration from this one, with new settings.@NotNull ConfigurationChange this configuration to hold a new settings.Modifier and TypeMethodDescription@NotNull ConfigurationConfiguration.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 ConfigurationConfiguration.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
Methods in org.jooq.conf that return SettingsModifier and TypeMethodDescriptionstatic final SettingsClone some settings.ObjectFactory.createSettings()Create an instance ofSettingsstatic final SettingsSettingsTools.defaultSettings()Retrieve the configured default settings.Settings.withApplyWorkaroundFor7962(Boolean value) [#7963] Apply workaround for ORA-04043 when inserting into Oracle tables with qualified, quoted identifiers, and fetching generated keysSettings.withAttachRecords(Boolean value) Whether fetched records should be attached to the fetching configuration.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 createdBatchedConnectioninstances.Settings.withBindOffsetDateTimeType(Boolean value) Whether thejava.time(JSR 310) typeOffsetDateTimeshould be bound natively to JDBC.Settings.withBindOffsetTimeType(Boolean value) Whether thejava.time(JSR 310) typeOffsetTimeshould be bound natively to JDBC.Settings.withCacheParsingConnection(Boolean value) Whether parsing connection translations should be cached in the configuration.Settings.withCacheParsingConnectionLRUCacheSize(Integer value) The default implementation of the ParsingConnection cache's LRU cache size.Settings.withCachePreparedStatementInLoader(Boolean value) Whether JDBCPreparedStatementinstances should be cached in loader API.Settings.withCacheRecordMappers(Boolean value) Whether record mappers should be cached in the configuration.Settings.withDebugInfoOnStackTrace(Boolean value) [#5570] Whether exception stack traces should be enhanced with additional debug information.Settings.withDelimiter(String value) [#5826] The delimiter character to be used to delimit statements in batches.Settings.withDiagnosticsConcatenationInPredicate(Boolean value) Whether to run theDiagnosticsListener.concatenationInPredicate(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsConnection(DiagnosticsConnection value) Whether to activate the DiagnosticsConnection, explicit byDEFAULT, implicit ifON, or turnedOFFentirely.Settings.withDiagnosticsConsecutiveAggregation(Boolean value) Whether to run theDiagnosticsListener.consecutiveAggregation(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsDuplicateStatements(Boolean value) Whether to run theDiagnosticsListener.duplicateStatements(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsDuplicateStatementsUsingTransformPatterns(Boolean value) Whether to run theDiagnosticsListener.duplicateStatements(org.jooq.DiagnosticsContext)diagnostic with thetransformPatternsfeature activated.Settings.withDiagnosticsLogging(Boolean value) When set to true, this will add jOOQ's default logging DiagnosticsListeners.Settings.withDiagnosticsMissingWasNullCall(Boolean value) Whether to run theDiagnosticsListener.missingWasNullCall(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsNullCondition(Boolean value) Whether to run thediagnostic.invalid @link
org.jooq.DiagnosticsListener#nullConditoin(org.jooq.DiagnosticsContext)Settings.withDiagnosticsPatterns(Boolean value) Whether to run the various pattern transformation diagnostics.Settings.withDiagnosticsPossiblyWrongExpression(Boolean value) Whether to run theDiagnosticsListener.possiblyWrongExpression(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsRepeatedStatements(Boolean value) Whether to run theDiagnosticsListener.repeatedStatements(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsTooManyColumnsFetched(Boolean value) Whether to run theDiagnosticsListener.tooManyColumnsFetched(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsTooManyRowsFetched(Boolean value) Whether to run theDiagnosticsListener.tooManyRowsFetched(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsTrivialCondition(Boolean value) Whether to run theDiagnosticsListener.trivialCondition(org.jooq.DiagnosticsContext)diagnostic.Settings.withDiagnosticsUnnecessaryWasNullCall(Boolean value) Whether to run theDiagnosticsListener.unnecessaryWasNullCall(org.jooq.DiagnosticsContext)diagnostic.Settings.withEmulateComputedColumns(Boolean value) [#13418] Whether computed columns should be emulated in the client.Settings.withEmulateMultiset(NestedCollectionEmulation value) [#3884] HowMULTISETsupport should be emulated.Settings.withEmulateOnDuplicateKeyUpdateOnPrimaryKeyOnly(Boolean value) [#6462] Use only the primary key to emulate MySQL's INSERT ..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 registeredExecuteListeners.Settings.withExecuteListenerStartInvocationOrder(InvocationOrder value) The order of invocation for [action]start() methods registeredExecuteListeners.Settings.withExecuteLogging(Boolean value) When set to true, this will add jOOQ's defaultLoggerListenerfor debug logging.Settings.withExecuteLoggingSQLExceptions(Boolean value) [#14420] Whether constraint violations and otherSQLExceptionshould produce additional log information about the column name and data causing the problem.Settings.withExecuteUpdateWithoutWhere(ExecuteWithoutWhere value) [#6771] Specifies whether UPDATE statements are allowed to be executed lacking a WHERE clause.Settings.withExecuteWithOptimisticLocking(Boolean value) Whether store() and delete() methods should be executed with optimistic locking.Settings.withExecuteWithOptimisticLockingExcludeUnversioned(Boolean value) Whether store() and delete() methods should be executed with optimistic locking also on "unversioned" tables, i.e.Settings.withFetchIntermediateResult(FetchIntermediateResult value) Whether to fetch data into intermediateResultinstances.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.withFetchTriggerValuesAfterReturning(FetchTriggerValuesAfterReturning value) Fetch trigger values after aRETURNINGclause in dialects that don't have native support for this.Settings.withFetchTriggerValuesAfterSQLServerOutput(Boolean value) Deprecated.Settings.withFetchWarnings(Boolean value) Whether warnings should be fetched after each query execution.Settings.withForceIntegerTypesOnZeroScaleDecimals(Boolean value) Historically, zero-scale decimal types are generated as their most appropriate, corresponding integer type (e.g.Settings.withInlineThreshold(Integer value) The maximum number of allowed bind variables before inlining all values where0uses 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) [#5600] Whether IN lists in IN predicates should be padded to powers of inListPadBase (default 2).Settings.withInsertUnchangedRecords(Boolean value) WhetherTableRecord.insert()calls should be executed if the record is unchanged.Settings.withInterpreterDelayForeignKeyDeclarations(Boolean value) Using this flag, the interpreter will be able to delay the addition of foreign key declarations until the end of the interpretation run.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) Whether constructor parameter names obtained via reflection in Java 8+ should be considered by the DefaultRecordMapper.Settings.withMapConstructorParameterNamesInKotlin(Boolean value) Whether constructor parameter names obtained via reflection in Kotlin should be considered by the DefaultRecordMapper.Settings.withMapConstructorPropertiesParameterNames(Boolean value) Whether constructor parameter names obtained from theConstructorPropertiesannotation should be considered by the DefaultRecordMapper.Settings.withMapJPAAnnotations(Boolean value) Whether JPA annotations should be considered by the DefaultRecordMapper.Settings.withMapRecordComponentParameterNames(Boolean value) Whether constructor parameter names obtained from theRecordcomponent names should be considered by the DefaultRecordMapper.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) TheMetaimplementation that is backed byDatabaseMetaDatadoes not produce system generated indexes on constraints, by default.Settings.withMetaIncludeSystemSequences(Boolean value) TheMetaimplementation that is backed byDatabaseMetaDatadoes not produce system generated sequences, by default.Settings.withMigrationAllowsUndo(Boolean value) Whether migrations are allowed to be executed in inverse order.Settings.withMigrationAutoBaseline(Boolean value) Whether to automatically existing schemas that are not yet managed by jOOQ Migrations.Settings.withMigrationAutoVerification(Boolean value) Whether a migration automatically runs a verification first.Settings.withMigrationDefaultSchema(MigrationSchema value) The default schema whose unqualified objects that are included in the migration.Settings.withMigrationHistorySchema(MigrationSchema value) The database schema where the migration history is located.Settings.withMigrationHistorySchemaCreateSchemaIfNotExists(Boolean value) WhethergetMigrationHistorySchema()should be created if it doesn't exist.Settings.withMigrationIgnoreDefaultTimestampPrecisionDiffs(Boolean value) VariousmigrateTo()methods (e.g.Settings.withMigrationListenerEndInvocationOrder(InvocationOrder value) The order of invocation for [action]end() methods registeredMigrationListeners.Settings.withMigrationListenerStartInvocationOrder(InvocationOrder value) The order of invocation for [action]start() methods registeredMigrationListeners.Settings.withMigrationRevertUntracked(Boolean value) Whether migrations revert any untracked changes in the schemas that are being migrated.Settings.withMigrationSchemata(Collection<MigrationSchema> values) Settings.withMigrationSchemata(List<MigrationSchema> migrationSchemata) Settings.withMigrationSchemata(MigrationSchema... values) Settings.withMigrationSchemataCreateSchemaIfNotExists(Boolean value) WhethergetMigrationSchemata()should be created if they don't exist.Settings.withNamePathSeparator(String value) The character(s) to be used as a separator in paths encoded in ainvalid @link
NameSettings.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'sFROMorUSINGclause, 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) [#8325] Whether the parser should ignore content between ignore comment tokens.Settings.withParseIgnoreCommentStart(String value) [#8325] The ignore comment start tokenSettings.withParseIgnoreCommentStop(String value) [#8325] The ignore comment stop tokenSettings.withParseIgnoreCommercialOnlyFeatures(Boolean value) [#13109] Whether the parser of the jOOQ Open Source Edition should ignore commercial only features, rather than failing.Settings.withParseLocale(Locale value) The Locale to be used with any parser locale dependent logic, defaulting togetLocale().Settings.withParseMetaDefaultExpressions(Boolean value) [#8469] Whether to parse default expressions retrieved fromDatabaseMetaData.Settings.withParseMetaViewSources(Boolean value) [#8469] Whether to parse view sources retrieved fromDatabaseMetaData.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) [#12538] Whether the parser should retain comments and whitespace between queries when parsing multiple queries throughParser.parse(String).Settings.withParseSearchPath(Collection<ParseSearchSchema> values) Settings.withParseSearchPath(List<ParseSearchSchema> parseSearchPath) Settings.withParseSearchPath(ParseSearchSchema... values) Settings.withParseSetCommands(Boolean value) [#9780] Whether commands of the typeSET key = valueshould be parsed rather than ignored.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 registeredRecordListeners.Settings.withRecordListenerStartInvocationOrder(InvocationOrder value) The order of invocation for [action]start() methods registeredRecordListeners.Settings.withReflectionCaching(Boolean value) Whether reflection information should be cached in the configuration.Settings.withRenderCatalog(Boolean value) Whether any catalog name should be rendered at all.Settings.withRenderCoalesceToEmptyStringInConcat(Boolean value) Whether stored function calls should be wrapped in scalar subqueries.Settings.withRenderDefaultNullability(RenderDefaultNullability value) Whether theNullability.DEFAULTnullablity should be rendered in generated DDL, and how it should be rendered.Settings.withRenderDollarQuotedStringToken(String value) The token to place between the$$signs of a PostgreSQL dollar quoted string generated by jOOQ.Settings.withRenderFormatted(Boolean value) Whether rendered SQL should be pretty-printed.Settings.withRenderFormatting(RenderFormatting value) All sorts of formatting flags / settings.Settings.withRenderGroupConcatMaxLenSessionVariable(Boolean value) Whether the jOOQGROUP_CONCATfunction should be overflow-protected by setting the@@group_concat_max_lensession variable in MySQL style database systems.Settings.withRenderImplicitJoinToManyType(RenderImplicitJoinType value) The join type to be generated by implicit joins for to-many paths inSelectqueries.Settings.withRenderImplicitJoinType(RenderImplicitJoinType value) The join type to be generated by implicit joins for to-one paths inSelectqueries.Settings.withRenderImplicitWindowRange(RenderImplicitWindowRange value) Whether to render an explicit windowRANGEclause when an implicit clause is applied.Settings.withRenderKeywordCase(RenderKeywordCase value) Whether the case ofKeywordreferences should be modified in any way.Settings.withRenderKeywordStyle(RenderKeywordStyle value) Deprecated.- 3.12.0 - [#5909] - UseRenderKeywordCaseinstead.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 ofNamereferences 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] - UseRenderQuotedNamesandRenderNameCaseinstead.Settings.withRenderOptionalAsKeywordForFieldAliases(RenderOptionalKeyword value) Whether to render the optionalASkeyword in table aliases, if it is optional in the output dialect.Settings.withRenderOptionalAsKeywordForTableAliases(RenderOptionalKeyword value) Whether to render the optionalASkeyword in table aliases, if it is optional in the output dialect.Settings.withRenderOptionalAssociativityParentheses(RenderOptionalKeyword value) Whether to render optional parentheses to make associativity explicit, e.g.Settings.withRenderOptionalInnerKeyword(RenderOptionalKeyword value) Whether to render the optionalINNERkeyword inINNER JOIN, if it is optional in the output dialect.Settings.withRenderOptionalOuterKeyword(RenderOptionalKeyword value) Whether to render the optionalOUTERkeyword inOUTER JOIN, if it is optional in the output dialect.Settings.withRenderOrderByRownumberForEmulatedPagination(Boolean value) Whether an additionalORDER BY rnclause should be rendered on emulated paginated queries.Settings.withRenderOutputForSQLServerReturningClause(Boolean value) Whether the jOOQRETURNINGclause should map to SQL Server'sOUTPUTclause.Settings.withRenderParenthesisAroundSetOperationQueries(Boolean value) Whether queries combined with set operators (e.g.Settings.withRenderPlainSQLTemplatesAsRaw(Boolean value) Whether plain SQL templates (SQL) are rendered as raw string content.Settings.withRenderQuotedNames(RenderQuotedNames value) Whether rendered schema, table, column names, etc should be quoted.Settings.withRenderRedundantConditionForSeekClause(Boolean value) Whether a redundant(a invalid input: '<'= :a)predicate should be rendered for a(a, b) invalid input: '<' (:a, :b)predicate for theSEEKclause.Settings.withRenderRowConditionForSeekClause(Boolean value) Whether a(a, b) invalid input: '<' (:a, :b)row predicate should be rendered for theSEEKclause.Settings.withRenderScalarSubqueriesForStoredFunctions(Boolean value) Whether stored function calls should be wrapped in scalar subqueries.Settings.withRenderSchema(Boolean value) Whether any schema name should be rendered at all.Settings.withRenderTable(RenderTable value) Whether any table name qualification should be rendered at all on columns.Settings.withRenderVariablesInDerivedTablesForEmulations(Boolean value) Whether emulations that require repeating expressions should render variables for those expressions in derived tables.Settings.withReturnAllOnUpdatableRecord(Boolean value) Whether calls to store(), insert() and update() should return all columns, not just identity columns.Settings.withReturnComputedOnUpdatableRecord(Boolean value) Whether calls to store(), insert() and update() should return values for columns that areDataType.computed().Settings.withReturnDefaultOnUpdatableRecord(Boolean value) Whether calls to store(), insert() and update() should return values for columns that areDataType.defaulted().Settings.withReturnIdentityOnUpdatableRecord(Boolean value) Whether calls to store(), insert() and update() should return the identity column.Settings.withReturnRecordToPojo(Boolean value) Whether calls to store(), insert(), update(), and delete() that are called on an UpdatableRecord that is created from a POJO (e.g.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 registeredTransactionListeners.Settings.withTransactionListenerStartInvocationOrder(InvocationOrder value) The order of invocation for [action]start() methods registeredTransactionListeners.Settings.withTransformAnsiJoinToTableLists(Boolean value) Transform ANSI join to table lists if possible.Settings.withTransformGroupByColumnIndex(Transformation value) TransformGROUP BY [column index]clauses by substituting the column index.Deprecated.- 3.18.0 - [#14634] - The configuration of this transformation is deprecated.Settings.withTransformInlineBindValuesForFieldComparisons(Boolean value) TransformQOM.CompareConditionand a few other types of condition to inline their bind values, in case they matchSettings.withTransformInlineCTE(Transformation value) Transform Common Table Expressions (CTE) by inlining theirWITHclause definition to wherever they're referenced.Settings.withTransformPatterns(Boolean value) Transform various syntax patterns to better versions, if possible.Settings.withTransformPatternsAndNeToNotIn(Boolean value) Transformx != c1 AND x != c2tox NOT IN (c1, c2).Settings.withTransformPatternsArithmeticComparisons(Boolean value) Transforma + 1 = 2toa = 2 - 1, and other transformations.Settings.withTransformPatternsArithmeticExpressions(Boolean value) Transform1 / y * xtox / y, and other transformations.Settings.withTransformPatternsBitGet(Boolean value) Transform bitwise operations to an equivalentBIT_GET(a, b)expression.Settings.withTransformPatternsBitNotBitNand(Boolean value) Transform~(bitnand(x, y))tobitand(x, y)and~(bitand(x, y)tobitnand(x, y).Settings.withTransformPatternsBitNotBitNor(Boolean value) Transform~(bitnor(x, y))tobitor(x, y)and~(bitor(x, y)tobitnor(x, y).Settings.withTransformPatternsBitNotBitNot(Boolean value) Transform~(~(x))tox.Settings.withTransformPatternsBitNotBitXNor(Boolean value) Transform~(bitxnor(x, y))tobitxor(x, y)and~(bitxor(x, y)tobitxnor(x, y).Settings.withTransformPatternsBitSet(Boolean value) Transform bitwise operations to an equivalentBIT_SET(a, b)orBIT_SET(a, b, c)expression.Settings.withTransformPatternsCaseDistinctToDecode(Boolean value) TransformCASE WHEN a IS NOT DISTINCT FROM b …to an equivalentDECODEfunction.Settings.withTransformPatternsCaseElseNull(Boolean value) TransformCASE … ELSE NULLremoving theELSEclause.Settings.withTransformPatternsCaseMergeWhenElse(Boolean value) TransformCASE WHEN a THEN x WHEN b THEN y ELSE y ENDtoCASE WHEN a THEN x ELSE y END.Settings.withTransformPatternsCaseMergeWhenWhen(Boolean value) TransformCASE WHEN a THEN x WHEN b THEN x ENDtoCASE WHEN a OR b THEN x END.Settings.withTransformPatternsCaseSearchedToCaseSimple(Boolean value) Transform a searchedCASE WHEN x = ..Settings.withTransformPatternsCaseToCaseAbbreviation(Boolean value) TransformCASEexpressions to their respective abbreviations.Settings.withTransformPatternsCountConstant(Boolean value) TransformCOUNT(1)or any otherCOUNT(const)toCOUNT(*).Settings.withTransformPatternsDistinctFromNull(Boolean value) Transforma IS [ NOT ] DISTINCT FROM NULLtoa IS [ NOT ] NULL.Settings.withTransformPatternsEmptyScalarSubquery(Boolean value) Transform empty scalar subqueries like(SELECT 1 WHERE FALSE)toNULL.Settings.withTransformPatternsFlattenCase(Boolean value) TransformCASE … ELSE CASE …by flattening the nestedCASE.Settings.withTransformPatternsFlattenCaseAbbreviation(Boolean value) Flatten nestedCASEabbreviations such asNVLorCASE.Settings.withTransformPatternsFlattenDecode(Boolean value) Flatten nestedDECODEfunctions.Settings.withTransformPatternsHyperbolicFunctions(Boolean value) Transform(EXP(x) - EXP(-x)) / 2toSINH(x), and other transformations.Settings.withTransformPatternsIdempotentFunctionRepetition(Boolean value) Transform all repetitions of idempotent functions, such asUPPER(UPPER(s))toUPPER(s).Settings.withTransformPatternsInverseHyperbolicFunctions(Boolean value) TransformLN(x + SQRT(SQUARE(x) + 1))toASINH(x), and other transformations.Settings.withTransformPatternsLogarithmicFunctions(Boolean value) TransformLN(value) / LN(base)toLOG(base, value), and other transformations.Settings.withTransformPatternsLogging(Boolean value) Activate debug logging of thetransformPatternsfeature.Settings.withTransformPatternsMergeAndComparison(Boolean value) Transformx >= a AND x invalid input: '<'= atox = a.Settings.withTransformPatternsMergeBetweenSymmetricPredicates(Boolean value) Transformx BETWEEN a AND b OR x BETWEEN b AND atox BETWEEN SYMMETRIC a AND b.Settings.withTransformPatternsMergeInLists(Boolean value) Transformx IN (a, b, c) AND x IN (b, c, d)tox IN (b, c).Settings.withTransformPatternsMergeOrComparison(Boolean value) Transformx = a OR x > atox >= a.Settings.withTransformPatternsMergeRangePredicates(Boolean value) Transformx >= a AND x invalid input: '<'= btox BETWEEN a AND b.Settings.withTransformPatternsNegNeg(Boolean value) Transform-(-(x))toxSettings.withTransformPatternsNormaliseAssociativeOps(Boolean value) Transform(a + b) + (c + d)to((a + b) + c) + d.Settings.withTransformPatternsNormaliseCoalesceToNvl(Boolean value) Transform 2 argumentCOALESCE(a, b)toNVL(a, b).Settings.withTransformPatternsNormaliseFieldCompareValue(Boolean value) Transform1 = atoa = 1.Settings.withTransformPatternsNormaliseInListSingleElementToComparison(Boolean value) Transformx IN (a)tox = aandx NOT IN (a)tox != a.Settings.withTransformPatternsNotAnd(Boolean value) TransformNOT(p AND q)toNOT(p) OR NOT(q).Settings.withTransformPatternsNotComparison(Boolean value) TransformNOT (a != b)toa = b, and similar comparisons.Settings.withTransformPatternsNotNot(Boolean value) TransformNOT(NOT(x))tox.Settings.withTransformPatternsNotNotDistinct(Boolean value) TransformNOT (a IS NOT DISTINCT FROM b)toa IS DISTINCT FROM b.Settings.withTransformPatternsNotOr(Boolean value) TransformNOT(p OR q)toNOT(p) AND NOT(q).Settings.withTransformPatternsNullOnNullInput(Boolean value) Any {org.jooq.impl.QOM.UReturnsNullOnNullInput} function or expression withNULLarguments can be replaced byNULL.Settings.withTransformPatternsOrEqToIn(Boolean value) Transformx = c1 OR x = c2tox IN (c1, c2).Settings.withTransformPatternsScalarSubqueryCountAsteriskGtZero(Boolean value) Transform predicates comparing scalar subqueries with a count(SELECT COUNT(*) …) > 0to equivalentEXISTS (SELECT 1 …).Settings.withTransformPatternsScalarSubqueryCountExpressionGtZero(Boolean value) Transform predicates comparing scalar subqueries with a count(SELECT COUNT(expr) …) > 0to equivalentEXISTS (SELECT 1 … WHERE expr IS NOT NULL).Settings.withTransformPatternsSimplifyCaseAbbreviation(Boolean value) Transform complex predicates into simplerCASEabbreviations.Settings.withTransformPatternsTrigonometricFunctions(Boolean value) TransformSIN(x) / COS(x)toTAN(x), and other transformations.Settings.withTransformPatternsTrim(Boolean value) TransformLTRIM(RTRIM(x))orRTRIM(LTRIM(x))toTRIM(x).Settings.withTransformPatternsTrivialBitwiseOperations(Boolean value) Transform trivial bitwise comparisons likeBIT_OR(a, 0)toa.Settings.withTransformPatternsTrivialCaseAbbreviation(Boolean value) Transform trivial case abbreviations likeNVL(NULL, a)toa.Settings.withTransformPatternsTrivialPredicates(Boolean value) Transform trivial predicates like1 = 1toTRUE.Settings.withTransformPatternsUnnecessaryDistinct(Boolean value) TransformSELECT DISTINCT a, b FROM t GROUP BY a, btoSELECT a, b FROM t GROUP BY a, b.Settings.withTransformPatternsUnnecessaryExistsSubqueryClauses(Boolean value) Transform[ NOT ] EXISTS (SELECT DISTINCT a, b FROM t ORDER BY c LIMIT d)to[ NOT ] EXISTS (SELECT 1 FROM t).Settings.withTransformPatternsUnnecessaryGroupByExpressions(Boolean value) TransformSELECT a, b FROM t GROUP BY a, a, btoSELECT a, b FROM t GROUP BY a, b.Settings.withTransformPatternsUnnecessaryInnerJoin(Boolean value) TransformSELECT * FROM t INNER JOIN u ON TRUEtoSELECT * FROM t CROSS JOIN u.Settings.withTransformPatternsUnnecessaryOrderByExpressions(Boolean value) TransformSELECT a, b FROM t ORDER BY a, a, btoSELECT a, b FROM t ORDER BY a, b.Settings.withTransformPatternsUnnecessaryScalarSubquery(Boolean value) TransformSELECT (SELECT 1)toSELECT 1.Settings.withTransformPatternsUnreachableCaseClauses(Boolean value) TransformCASEby removing unreachable clauses.Settings.withTransformPatternsUnreachableDecodeClauses(Boolean value) TransformDECODEby removing unreachable clauses.Settings.withTransformQualify(Transformation value) Transform theQUALIFYclause to an equivalent derived table to filter on window functions.Settings.withTransformRownum(Transformation value) TransformROWNUMexpressions to correspondingLIMITclauses orROW_NUMBER()expressions.Settings.withTransformTableListsToAnsiJoin(Boolean value) Transform table lists to ANSI join if possible.Transform arithmetic expressions on literals and bind variables.Settings.withUpdatablePrimaryKeys(Boolean value) Whether primary key values are deemed to be "updatable" in jOOQ.Settings.withUpdateRecordTimestamp(Boolean value) Whether store(), insert(), and update() methods should update the record timestamp prior to the operation, for use withexecuteWithOptimisticLocking.Settings.withUpdateRecordVersion(Boolean value) Whether store(), insert(), and update() methods should update the record version prior to the operation, for use withexecuteWithOptimisticLocking.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 registeredVisitListeners.Settings.withVisitListenerStartInvocationOrder(InvocationOrder value) The order of invocation for [action]start() methods registeredVisitListeners.Settings.withWarnOnStaticTypeRegistryAccess(Warning value) [#15286] The warning level when the deprecated static type registry was accessed by legacy code.Methods in org.jooq.conf that return types with arguments of type SettingsModifier and TypeMethodDescriptionjakarta.xml.bind.JAXBElement<Settings>ObjectFactory.createSettings(Settings value) Methods in org.jooq.conf with parameters of type SettingsModifier and TypeMethodDescriptionstatic final SettingsClone some settings.jakarta.xml.bind.JAXBElement<Settings>ObjectFactory.createSettings(Settings value) static final booleanSettingsTools.executePreparedStatements(Settings settings) Whether aPreparedStatementshould be executed.static final booleanSettingsTools.executeStaticStatements(Settings settings) Whether staticStatementshould be executed.static final BackslashEscapingSettingsTools.getBackslashEscaping(Settings settings) Get the value BackslashEscaping value.static final intSettingsTools.getBatchSize(Settings settings) Return the specifiedgetBatchSize().static final ExecuteWithoutWhereSettingsTools.getExecuteDeleteWithoutWhere(Settings settings) Lazy access togetExecuteDeleteWithoutWhere().static final ExecuteWithoutWhereSettingsTools.getExecuteUpdateWithoutWhere(Settings settings) Lazy access togetExecuteUpdateWithoutWhere().static final intSettingsTools.getFetchServerOutputSize(int fetchServerOutputSize, Settings settings) static final intSettingsTools.getFetchSize(int fetchSize, Settings settings) static final intSettingsTools.getMaxRows(int maxRows, Settings settings) static final ParamTypeSettingsTools.getParamType(Settings settings) Get the parameter type from the settings.static final QueryPoolableSettingsTools.getQueryPoolable(QueryPoolable poolable, Settings settings) static final intSettingsTools.getQueryTimeout(int timeout, Settings settings) static final RenderKeywordCaseSettingsTools.getRenderKeywordCase(Settings settings) Backwards compatible access toRenderKeywordCaseand/orRenderKeywordStyle(the latter being deprecated).static final RenderMappingSettingsTools.getRenderMapping(Settings settings) Lazy access toRenderMapping.static final RenderNameCaseSettingsTools.getRenderNameCase(Settings settings) Backwards compatible access toRenderNameCaseand/orRenderNameStyle(the latter being deprecated).static final RenderQuotedNamesSettingsTools.getRenderQuotedNames(Settings settings) Backwards compatible access toRenderQuotedNamesand/orRenderNameStyle(the latter being deprecated).static final RenderTableSettingsTools.getRenderTable(Settings settings) Lazy access toRenderTable.static final StatementTypeSettingsTools.getStatementType(Settings settings) Get the statement type from the settings.static final TransformUnneededArithmeticExpressionsSettingsTools.getTransformUnneededArithmeticExpressions(Settings settings) Lazy access togetTransformUnneededArithmeticExpressions().static final LocaleSettingsTools.interpreterLocale(Settings settings) The interpreter locale that is applicable, or the default locale if no such locale is configured.static final LocaleThe render locale that is applicable, or the default locale if no such locale is configured.static final LocaleSettingsTools.parseLocale(Settings settings) The parser locale that is applicable, or the default locale if no such locale is configured.static final booleanSettingsTools.parsingConnectionCaching(Settings settings) Whether parsing connection caching is active.static final booleanSettingsTools.recordMapperCaching(Settings settings) Whether record mapper caching is active.static final booleanSettingsTools.reflectionCaching(Settings settings) Whether reflection caching is active.static final LocaleSettingsTools.renderLocale(Settings settings) The render locale that is applicable, or the default locale if no such locale is configured.static final booleanSettingsTools.returnAnyNonIdentityOnUpdatableRecord(Settings settings) Whether any non-identity value should be returned on anUpdatableRecordoperation.static final booleanSettingsTools.returnAnyOnUpdatableRecord(Settings settings) Whether any value should be returned on anUpdatableRecordoperation.static final booleanSettingsTools.updatablePrimaryKeys(Settings settings) Whether primary keys should be updatable. -
Uses of Settings in org.jooq.impl
Methods in org.jooq.impl that return SettingsModifier and TypeMethodDescriptionDAOImpl.settings()final SettingsDefaultConfiguration.settings()Methods in org.jooq.impl with parameters of type SettingsModifier and TypeMethodDescriptionfinal Configurationfinal Configurationfinal voidDefaultConfiguration.setSettings(Settings newSettings) static @NotNull DSLContextDSL.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 DSLContextDSL.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 DSLContextDSL.using(Connection connection, Settings settings) Create an executor with a connection, a dialect and settings configured.static @NotNull DSLContextDSL.using(Connection connection, SQLDialect dialect, Settings settings) Create an executor with a connection, a dialect and settings configured.static @NotNull DSLContextDSL.using(DataSource datasource, SQLDialect dialect, Settings settings) Create an executor with a data source, a dialect and settings configured.static @NotNull DSLContextDSL.using(ConnectionProvider connectionProvider, SQLDialect dialect, Settings settings) Create an executor with a custom connection provider, a dialect and settings configured.static @NotNull DSLContextDSL.using(SQLDialect dialect, Settings settings) Create an executor with a dialect and settings configured.Method parameters in org.jooq.impl with type arguments of type SettingsModifier and TypeMethodDescriptionfinal ConfigurationDefaultConfiguration.deriveSettings(Function<? super Settings, ? extends Settings> newSettings) final ConfigurationDefaultConfiguration.deriveSettings(Function<? super Settings, ? extends Settings> newSettings) Constructors in org.jooq.impl with parameters of type SettingsModifierConstructorDescriptionDefaultCloseableDSLContext(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
Methods in org.jooq.tools.jdbc that return SettingsMethods in org.jooq.tools.jdbc with parameters of type SettingsModifier and TypeMethodDescriptionMethod parameters in org.jooq.tools.jdbc with type arguments of type SettingsModifier and TypeMethodDescriptionMockConfiguration.deriveSettings(Function<? super Settings, ? extends Settings> newSettings) MockConfiguration.deriveSettings(Function<? super Settings, ? extends Settings> newSettings)
fetchTriggerValuesAfterReturninginstead.