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.
This package contains compatibility classes to bridge between JDBC 4.0 and
JDBC 4.1.
-
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 SettingsClone some settings.ObjectFactory.createSettings()Create an instance ofSettingsstatic SettingsSettingsTools.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 createdBatchedConnectioninstances.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] HowMULTISETsupport 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 registeredExecuteListeners.Settings.withExecuteListenerStartInvocationOrder(InvocationOrder value)The order of invocation for [action]start() methods registeredExecuteListeners.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 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.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 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)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 registeredMigrationListeners.Settings.withMigrationListenerStartInvocationOrder(InvocationOrder value)The order of invocation for [action]start() methods registeredMigrationListeners.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 aNameSettings.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)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.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.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)Settings.withRenderCatalog(Boolean value)Settings.withRenderCoalesceToEmptyStringInConcat(Boolean value)Settings.withRenderDefaultNullability(RenderDefaultNullability value)Whether theNullability.DEFAULTnullablity 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 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.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.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)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 registeredTransactionListeners.Settings.withTransactionListenerStartInvocationOrder(InvocationOrder value)The order of invocation for [action]start() methods registeredTransactionListeners.Settings.withTransformAnsiJoinToTableLists(Boolean value)Settings.withTransformInConditionSubqueryWithLimitToDerivedTable(Transformation value)Transform a subquery from an IN condition with LIMIT to an equivalent derived table.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 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 registeredVisitListeners.Settings.withVisitListenerStartInvocationOrder(InvocationOrder value)The order of invocation for [action]start() methods registeredVisitListeners.Methods in org.jooq.conf that return types with arguments of type SettingsModifier and TypeMethodDescriptionjavax.xml.bind.JAXBElement<Settings>ObjectFactory.createSettings(Settings value)Methods in org.jooq.conf with parameters of type SettingsModifier and TypeMethodDescriptionstatic SettingsClone some settings.javax.xml.bind.JAXBElement<Settings>ObjectFactory.createSettings(Settings value)static booleanSettingsTools.executePreparedStatements(Settings settings)Whether aPreparedStatementshould be executed.static booleanSettingsTools.executeStaticStatements(Settings settings)Whether staticStatementshould be executed.static BackslashEscapingSettingsTools.getBackslashEscaping(Settings settings)Get the value BackslashEscaping value.static intSettingsTools.getBatchSize(Settings settings)Return the specifiedgetBatchSize().static ExecuteWithoutWhereSettingsTools.getExecuteDeleteWithoutWhere(Settings settings)Lazy access togetExecuteDeleteWithoutWhere().static ExecuteWithoutWhereSettingsTools.getExecuteUpdateWithoutWhere(Settings settings)Lazy access togetExecuteUpdateWithoutWhere().static intSettingsTools.getFetchServerOutputSize(int fetchServerOutputSize, Settings settings)static intSettingsTools.getFetchSize(int fetchSize, Settings settings)static intSettingsTools.getMaxRows(int maxRows, Settings settings)static ParamTypeSettingsTools.getParamType(Settings settings)Get the parameter type from the settings.static QueryPoolableSettingsTools.getQueryPoolable(QueryPoolable poolable, Settings settings)static intSettingsTools.getQueryTimeout(int timeout, Settings settings)static RenderKeywordCaseSettingsTools.getRenderKeywordCase(Settings settings)Backwards compatible access toRenderKeywordCaseand/orRenderKeywordStyle(the latter being deprecated).static RenderMappingSettingsTools.getRenderMapping(Settings settings)Lazy access toRenderMapping.static RenderNameCaseSettingsTools.getRenderNameCase(Settings settings)Backwards compatible access toRenderNameCaseand/orRenderNameStyle(the latter being deprecated).static RenderQuotedNamesSettingsTools.getRenderQuotedNames(Settings settings)Backwards compatible access toRenderQuotedNamesand/orRenderNameStyle(the latter being deprecated).static StatementTypeSettingsTools.getStatementType(Settings settings)Get the statement type from the settings.SettingsTools.getTransformUnneededArithmeticExpressions(Settings settings)Lazy access togetTransformUnneededArithmeticExpressions().static LocaleSettingsTools.interpreterLocale(Settings settings)The interpreter locale that is applicable, or the default locale if no such locale is configured.static LocaleThe render locale that is applicable, or the default locale if no such locale is configured.static LocaleSettingsTools.parseLocale(Settings settings)The parser locale that is applicable, or the default locale if no such locale is configured.static booleanSettingsTools.parsingConnectionCaching(Settings settings)Whether parsing connection caching is active.static booleanSettingsTools.recordMapperCaching(Settings settings)Whether record mapper caching is active.static booleanSettingsTools.reflectionCaching(Settings settings)Whether reflection caching is active.static LocaleSettingsTools.renderLocale(Settings settings)The render locale that is applicable, or the default locale if no such locale is configured.static booleanSettingsTools.updatablePrimaryKeys(Settings settings)Whether primary keys should be updatable. -
Uses of Settings in org.jooq.impl
Methods in org.jooq.impl that return SettingsMethods in org.jooq.impl with parameters of type SettingsModifier and TypeMethodDescriptionvoidDefaultConfiguration.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 TypeMethodDescriptionDefaultConfiguration.deriveSettings(Function<? super Settings,? extends Settings> newSettings)DefaultConfiguration.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)
RenderKeywordCaseinstead.