Package org.jooq.conf

Class Settings

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, XMLAppendable

    public class Settings
    extends java.lang.Object
    implements java.io.Serializable, java.lang.Cloneable, XMLAppendable
    Settings that influence the way jOOQ renders SQL code.
    See Also:
    Serialized Form
    • Field Detail

      • renderCatalog

        protected java.lang.Boolean renderCatalog
      • renderSchema

        protected java.lang.Boolean renderSchema
      • renderNamedParamPrefix

        protected java.lang.String renderNamedParamPrefix
      • renderLocale

        protected java.util.Locale renderLocale
      • renderFormatted

        protected java.lang.Boolean renderFormatted
      • renderScalarSubqueriesForStoredFunctions

        protected java.lang.Boolean renderScalarSubqueriesForStoredFunctions
      • renderOrderByRownumberForEmulatedPagination

        protected java.lang.Boolean renderOrderByRownumberForEmulatedPagination
      • renderOutputForSQLServerReturningClause

        protected java.lang.Boolean renderOutputForSQLServerReturningClause
      • fetchTriggerValuesAfterSQLServerOutput

        protected java.lang.Boolean fetchTriggerValuesAfterSQLServerOutput
      • transformTableListsToAnsiJoin

        protected java.lang.Boolean transformTableListsToAnsiJoin
      • inlineThreshold

        protected java.lang.Integer inlineThreshold
      • transactionListenerStartInvocationOrder

        protected InvocationOrder transactionListenerStartInvocationOrder
      • transactionListenerEndInvocationOrder

        protected InvocationOrder transactionListenerEndInvocationOrder
      • visitListenerStartInvocationOrder

        protected InvocationOrder visitListenerStartInvocationOrder
      • visitListenerEndInvocationOrder

        protected InvocationOrder visitListenerEndInvocationOrder
      • recordListenerStartInvocationOrder

        protected InvocationOrder recordListenerStartInvocationOrder
      • recordListenerEndInvocationOrder

        protected InvocationOrder recordListenerEndInvocationOrder
      • executeListenerStartInvocationOrder

        protected InvocationOrder executeListenerStartInvocationOrder
      • executeListenerEndInvocationOrder

        protected InvocationOrder executeListenerEndInvocationOrder
      • executeLogging

        protected java.lang.Boolean executeLogging
      • updateRecordVersion

        protected java.lang.Boolean updateRecordVersion
      • updateRecordTimestamp

        protected java.lang.Boolean updateRecordTimestamp
      • executeWithOptimisticLocking

        protected java.lang.Boolean executeWithOptimisticLocking
      • executeWithOptimisticLockingExcludeUnversioned

        protected java.lang.Boolean executeWithOptimisticLockingExcludeUnversioned
      • attachRecords

        protected java.lang.Boolean attachRecords
      • updatablePrimaryKeys

        protected java.lang.Boolean updatablePrimaryKeys
      • reflectionCaching

        protected java.lang.Boolean reflectionCaching
      • cacheRecordMappers

        protected java.lang.Boolean cacheRecordMappers
      • fetchWarnings

        protected java.lang.Boolean fetchWarnings
      • fetchServerOutputSize

        protected java.lang.Integer fetchServerOutputSize
      • returnIdentityOnUpdatableRecord

        protected java.lang.Boolean returnIdentityOnUpdatableRecord
      • returnAllOnUpdatableRecord

        protected java.lang.Boolean returnAllOnUpdatableRecord
      • returnRecordToPojo

        protected java.lang.Boolean returnRecordToPojo
      • mapJPAAnnotations

        protected java.lang.Boolean mapJPAAnnotations
      • mapConstructorParameterNames

        protected java.lang.Boolean mapConstructorParameterNames
      • mapConstructorParameterNamesInKotlin

        protected java.lang.Boolean mapConstructorParameterNamesInKotlin
      • queryTimeout

        protected java.lang.Integer queryTimeout
      • maxRows

        protected java.lang.Integer maxRows
      • fetchSize

        protected java.lang.Integer fetchSize
      • debugInfoOnStackTrace

        protected java.lang.Boolean debugInfoOnStackTrace
      • inListPadding

        protected java.lang.Boolean inListPadding
      • inListPadBase

        protected java.lang.Integer inListPadBase
      • delimiter

        protected java.lang.String delimiter
      • emulateOnDuplicateKeyUpdateOnPrimaryKeyOnly

        protected java.lang.Boolean emulateOnDuplicateKeyUpdateOnPrimaryKeyOnly
      • parseIgnoreComments

        protected java.lang.Boolean parseIgnoreComments
      • parseIgnoreCommentStart

        protected java.lang.String parseIgnoreCommentStart
      • parseIgnoreCommentStop

        protected java.lang.String parseIgnoreCommentStop
    • Constructor Detail

      • Settings

        public Settings()
    • Method Detail

      • isRenderCatalog

        public java.lang.Boolean isRenderCatalog()
        Whether any catalog name should be rendered at all.

        Use this for single-catalog environments, or when all objects are made available using synonyms

        Returns:
        possible object is Boolean
      • setRenderCatalog

        public void setRenderCatalog​(java.lang.Boolean value)
        Sets the value of the renderCatalog property.
        Parameters:
        value - allowed object is Boolean
      • isRenderSchema

        public java.lang.Boolean isRenderSchema()
        Whether any schema name should be rendered at all.

        Setting this to false also implicitly sets "renderCatalog" to false.

        Use this for single-schema environments, or when all objects are made available using synonyms

        Returns:
        possible object is Boolean
      • setRenderSchema

        public void setRenderSchema​(java.lang.Boolean value)
        Sets the value of the renderSchema property.
        Parameters:
        value - allowed object is Boolean
      • getRenderMapping

        public RenderMapping getRenderMapping()
        Configure render mapping for runtime schema / table rewriting in generated SQL.
        Returns:
        possible object is RenderMapping
      • setRenderMapping

        public void setRenderMapping​(RenderMapping value)
        Sets the value of the renderMapping property.
        Parameters:
        value - allowed object is RenderMapping
      • setRenderQuotedNames

        public void setRenderQuotedNames​(RenderQuotedNames value)
        Sets the value of the renderQuotedNames property.
        Parameters:
        value - allowed object is RenderQuotedNames
      • getRenderNameCase

        public RenderNameCase getRenderNameCase()
        Whether the case of Name references should be modified in any way.

        Names are modified irrespective of the getRenderQuotedNames() setting.

        This setting does not affect any plain SQL usage.

        Returns:
        possible object is RenderNameCase
      • setRenderNameCase

        public void setRenderNameCase​(RenderNameCase value)
        Sets the value of the renderNameCase property.
        Parameters:
        value - allowed object is RenderNameCase
      • getRenderNameStyle

        public RenderNameStyle getRenderNameStyle()
        Deprecated.
        - 3.12.0 - [#5909] - Use RenderQuotedNames and RenderNameCase instead.
        Whether rendered schema, table, column names, etc should be quoted in rendered SQL, or transformed in any other way.

        This is set to "QUOTED" by default for backwards-compatibility.

        Returns:
        possible object is RenderNameStyle
      • setRenderNameStyle

        public void setRenderNameStyle​(RenderNameStyle value)
        Sets the value of the renderNameStyle property.
        Parameters:
        value - allowed object is RenderNameStyle
      • getRenderNamedParamPrefix

        public java.lang.String getRenderNamedParamPrefix()
        The prefix to use for named parameters.

        Named parameter syntax defaults to :name (such as supported by Oracle, JPA, Spring), but vendor specific parameters may look differently. This flag can be used to determine the prefix to be used by named parameters, such as @ for SQL Server's @name or $ for PostgreSQL's $name.

        "Named indexed" parameters can be obtained in the same way by specifingy ParamType#NAMED and not providing a name to parameters, resulting in :1 or @1 or $1, etc.

        Returns:
        possible object is String
      • setRenderNamedParamPrefix

        public void setRenderNamedParamPrefix​(java.lang.String value)
        Sets the value of the renderNamedParamPrefix property.
        Parameters:
        value - allowed object is String
      • setRenderKeywordCase

        public void setRenderKeywordCase​(RenderKeywordCase value)
        Sets the value of the renderKeywordCase property.
        Parameters:
        value - allowed object is RenderKeywordCase
      • setRenderKeywordStyle

        public void setRenderKeywordStyle​(RenderKeywordStyle value)
        Sets the value of the renderKeywordStyle property.
        Parameters:
        value - allowed object is RenderKeywordStyle
      • getRenderLocale

        public java.util.Locale getRenderLocale()
        The Locale to be used with any locale dependent logic (as e.g. transforming names to lower / uppper case).
        Returns:
        possible object is String
      • setRenderLocale

        public void setRenderLocale​(java.util.Locale value)
        Sets the value of the renderLocale property.
        Parameters:
        value - allowed object is String
      • isRenderFormatted

        public java.lang.Boolean isRenderFormatted()
        Whether rendered SQL should be pretty-printed.
        Returns:
        possible object is Boolean
      • setRenderFormatted

        public void setRenderFormatted​(java.lang.Boolean value)
        Sets the value of the renderFormatted property.
        Parameters:
        value - allowed object is Boolean
      • setRenderFormatting

        public void setRenderFormatting​(RenderFormatting value)
        Sets the value of the renderFormatting property.
        Parameters:
        value - allowed object is RenderFormatting
      • isRenderScalarSubqueriesForStoredFunctions

        public java.lang.Boolean isRenderScalarSubqueriesForStoredFunctions()
        Whether stored function calls should be wrapped in scalar subqueries.

        Oracle 11g (and potentially, other databases too) implements scalar subquery caching. With this flag set to true, users can automatically profit from this feature in all SQL statements.

        Returns:
        possible object is Boolean
      • setRenderScalarSubqueriesForStoredFunctions

        public void setRenderScalarSubqueriesForStoredFunctions​(java.lang.Boolean value)
        Sets the value of the renderScalarSubqueriesForStoredFunctions property.
        Parameters:
        value - allowed object is Boolean
      • isRenderOrderByRownumberForEmulatedPagination

        public java.lang.Boolean isRenderOrderByRownumberForEmulatedPagination()
        Whether an additional ORDER BY rn clause should be rendered on emulated paginated queries.

        Older databases did not support OFFSET .. FETCH pagination, so jOOQ emulates it using derived tables and ROWNUM (Oracle 11g and older) or ROW_NUMBER() (e.g. DB2, SQL Server, etc.) filtering. While these subqueries are ordered, the ordering is not guaranteed to be stable in the outer most queries. It may be stable (and e.g. in Oracle, it mostly is, if queries are not parallel, or joined to other queries, etc.), so the excess ORDER BY clause may add some additional performance overhead. This setting forces jOOQ to not generate the additional ORDER BY clause.

        For details, see https://github.com/jOOQ/jOOQ/issues/7609.

        Returns:
        possible object is Boolean
      • setRenderOrderByRownumberForEmulatedPagination

        public void setRenderOrderByRownumberForEmulatedPagination​(java.lang.Boolean value)
        Sets the value of the renderOrderByRownumberForEmulatedPagination property.
        Parameters:
        value - allowed object is Boolean
      • isRenderOutputForSQLServerReturningClause

        public java.lang.Boolean isRenderOutputForSQLServerReturningClause()
        Whether the jOOQ RETURNING clause should map to SQL Server's OUTPUT clause.

        SQL Server supports an OUTPUT clause in most DML statements, whose behaviour is almost identical to RETURNING in Firebird, Oracle, PostgreSQL. Users who want to prevent jOOQ from rendering this OUTPUT clause can deactivate this flag to revert to jOOQ calling java.sql.Statement#getGeneratedKeys() instead, which is only supported for single row inserts.

        This OUTPUT clause does not support fetching trigger generated values. In order to fetch trigger generated values, fetchTriggerValuesAfterSQLServerOutput needs to be enabled as well.

        For details, see https://github.com/jOOQ/jOOQ/issues/4498.

        Returns:
        possible object is Boolean
      • setRenderOutputForSQLServerReturningClause

        public void setRenderOutputForSQLServerReturningClause​(java.lang.Boolean value)
        Sets the value of the renderOutputForSQLServerReturningClause property.
        Parameters:
        value - allowed object is Boolean
      • isFetchTriggerValuesAfterSQLServerOutput

        public java.lang.Boolean isFetchTriggerValuesAfterSQLServerOutput()
        Fetch trigger values after SQL Server OUTPUT clause.

        SQL Server OUTPUT statements do not support fetching trigger generated values. This is a limitation of the renderOutputForSQLServerReturningClause. An additional MERGE statement can run a second query if (and only if) the primary key has been included in the OUTPUT clause.

        For details, see https://github.com/jOOQ/jOOQ/issues/4498.

        Returns:
        possible object is Boolean
      • setFetchTriggerValuesAfterSQLServerOutput

        public void setFetchTriggerValuesAfterSQLServerOutput​(java.lang.Boolean value)
        Sets the value of the fetchTriggerValuesAfterSQLServerOutput property.
        Parameters:
        value - allowed object is Boolean
      • isTransformTableListsToAnsiJoin

        public java.lang.Boolean isTransformTableListsToAnsiJoin()
        Transform table lists to ANSI join if possible

        (Very) historically, prior to ANSI join syntax, joins were implemented by listing tables in the FROM clause and providing join predicates in the WHERE clause, possibly using vendor specific operators like (+) (Oracle, DB2) or *= (SQL Server) for outer join support. Migrating such join syntax is tedious. The jOOQ parser can parse the old syntax and this flag enables the transformation to ANSI join syntax.

        This feature is available in the commercial distribution only.

        Returns:
        possible object is Boolean
      • setTransformTableListsToAnsiJoin

        public void setTransformTableListsToAnsiJoin​(java.lang.Boolean value)
        Sets the value of the transformTableListsToAnsiJoin property.
        Parameters:
        value - allowed object is Boolean
      • getBackslashEscaping

        public BackslashEscaping getBackslashEscaping()
        Whether string literals should be escaped with backslash.
        Returns:
        possible object is BackslashEscaping
      • setBackslashEscaping

        public void setBackslashEscaping​(BackslashEscaping value)
        Sets the value of the backslashEscaping property.
        Parameters:
        value - allowed object is BackslashEscaping
      • getParamType

        public ParamType getParamType()
        Specify how bind variables are to be rendered.

        Possibilities include: - question marks - named parameters - named or inlined parameters - inlined parameters This value is overridden by statementType == STATIC_STATEMENT, in case of which, this defaults to INLINED

        Returns:
        possible object is ParamType
      • setParamType

        public void setParamType​(ParamType value)
        Sets the value of the paramType property.
        Parameters:
        value - allowed object is ParamType
      • getParamCastMode

        public ParamCastMode getParamCastMode()
        Whether rendered bind values should be cast to their respective type.
        Returns:
        possible object is ParamCastMode
      • setParamCastMode

        public void setParamCastMode​(ParamCastMode value)
        Sets the value of the paramCastMode property.
        Parameters:
        value - allowed object is ParamCastMode
      • getStatementType

        public StatementType getStatementType()
        The type of statement that is to be executed.
        Returns:
        possible object is StatementType
      • setStatementType

        public void setStatementType​(StatementType value)
        Sets the value of the statementType property.
        Parameters:
        value - allowed object is StatementType
      • setInlineThreshold

        public void setInlineThreshold​(java.lang.Integer value)
        Sets the value of the inlineThreshold property.
        Parameters:
        value - allowed object is Integer
      • setTransactionListenerStartInvocationOrder

        public void setTransactionListenerStartInvocationOrder​(InvocationOrder value)
        Sets the value of the transactionListenerStartInvocationOrder property.
        Parameters:
        value - allowed object is InvocationOrder
      • setTransactionListenerEndInvocationOrder

        public void setTransactionListenerEndInvocationOrder​(InvocationOrder value)
        Sets the value of the transactionListenerEndInvocationOrder property.
        Parameters:
        value - allowed object is InvocationOrder
      • getVisitListenerStartInvocationOrder

        public InvocationOrder getVisitListenerStartInvocationOrder()
        The order of invocation for [action]start() methods registered VisitListeners.
        Returns:
        possible object is InvocationOrder
      • setVisitListenerStartInvocationOrder

        public void setVisitListenerStartInvocationOrder​(InvocationOrder value)
        Sets the value of the visitListenerStartInvocationOrder property.
        Parameters:
        value - allowed object is InvocationOrder
      • getVisitListenerEndInvocationOrder

        public InvocationOrder getVisitListenerEndInvocationOrder()
        The order of invocation for [action]end() methods registered VisitListeners.
        Returns:
        possible object is InvocationOrder
      • setVisitListenerEndInvocationOrder

        public void setVisitListenerEndInvocationOrder​(InvocationOrder value)
        Sets the value of the visitListenerEndInvocationOrder property.
        Parameters:
        value - allowed object is InvocationOrder
      • getRecordListenerStartInvocationOrder

        public InvocationOrder getRecordListenerStartInvocationOrder()
        The order of invocation for [action]start() methods registered RecordListeners.
        Returns:
        possible object is InvocationOrder
      • setRecordListenerStartInvocationOrder

        public void setRecordListenerStartInvocationOrder​(InvocationOrder value)
        Sets the value of the recordListenerStartInvocationOrder property.
        Parameters:
        value - allowed object is InvocationOrder
      • getRecordListenerEndInvocationOrder

        public InvocationOrder getRecordListenerEndInvocationOrder()
        The order of invocation for [action]end() methods registered RecordListeners.
        Returns:
        possible object is InvocationOrder
      • setRecordListenerEndInvocationOrder

        public void setRecordListenerEndInvocationOrder​(InvocationOrder value)
        Sets the value of the recordListenerEndInvocationOrder property.
        Parameters:
        value - allowed object is InvocationOrder
      • getExecuteListenerStartInvocationOrder

        public InvocationOrder getExecuteListenerStartInvocationOrder()
        The order of invocation for [action]start() methods registered ExecuteListeners.
        Returns:
        possible object is InvocationOrder
      • setExecuteListenerStartInvocationOrder

        public void setExecuteListenerStartInvocationOrder​(InvocationOrder value)
        Sets the value of the executeListenerStartInvocationOrder property.
        Parameters:
        value - allowed object is InvocationOrder
      • getExecuteListenerEndInvocationOrder

        public InvocationOrder getExecuteListenerEndInvocationOrder()
        The order of invocation for [action]end() methods registered ExecuteListeners.
        Returns:
        possible object is InvocationOrder
      • setExecuteListenerEndInvocationOrder

        public void setExecuteListenerEndInvocationOrder​(InvocationOrder value)
        Sets the value of the executeListenerEndInvocationOrder property.
        Parameters:
        value - allowed object is InvocationOrder
      • isExecuteLogging

        public java.lang.Boolean isExecuteLogging()
        When set to true, this will add jOOQ's default logging ExecuteListeners.
        Returns:
        possible object is Boolean
      • setExecuteLogging

        public void setExecuteLogging​(java.lang.Boolean value)
        Sets the value of the executeLogging property.
        Parameters:
        value - allowed object is Boolean
      • isUpdateRecordVersion

        public java.lang.Boolean isUpdateRecordVersion()
        Whether store(), insert(), and update() methods should update the record version prior to the operation, for use with executeWithOptimisticLocking.
        Returns:
        possible object is Boolean
      • setUpdateRecordVersion

        public void setUpdateRecordVersion​(java.lang.Boolean value)
        Sets the value of the updateRecordVersion property.
        Parameters:
        value - allowed object is Boolean
      • isUpdateRecordTimestamp

        public java.lang.Boolean isUpdateRecordTimestamp()
        Whether store(), insert(), and update() methods should update the record timestamp prior to the operation, for use with executeWithOptimisticLocking.
        Returns:
        possible object is Boolean
      • setUpdateRecordTimestamp

        public void setUpdateRecordTimestamp​(java.lang.Boolean value)
        Sets the value of the updateRecordTimestamp property.
        Parameters:
        value - allowed object is Boolean
      • isExecuteWithOptimisticLocking

        public java.lang.Boolean isExecuteWithOptimisticLocking()
        Whether store() and delete() methods should be executed with optimistic locking.
        Returns:
        possible object is Boolean
      • setExecuteWithOptimisticLocking

        public void setExecuteWithOptimisticLocking​(java.lang.Boolean value)
        Sets the value of the executeWithOptimisticLocking property.
        Parameters:
        value - allowed object is Boolean
      • isExecuteWithOptimisticLockingExcludeUnversioned

        public java.lang.Boolean isExecuteWithOptimisticLockingExcludeUnversioned()
        Whether store() and delete() methods should be executed with optimistic locking also on "unversioned" tables, i.e. on tables that do not have a version and/or timestamp column.

        This flag has no effect when "executeWithOptimisticLocking" is turned off.

        Returns:
        possible object is Boolean
      • setExecuteWithOptimisticLockingExcludeUnversioned

        public void setExecuteWithOptimisticLockingExcludeUnversioned​(java.lang.Boolean value)
        Sets the value of the executeWithOptimisticLockingExcludeUnversioned property.
        Parameters:
        value - allowed object is Boolean
      • isAttachRecords

        public java.lang.Boolean isAttachRecords()
        Whether fetched records should be attached to the fetching configuration.
        Returns:
        possible object is Boolean
      • setAttachRecords

        public void setAttachRecords​(java.lang.Boolean value)
        Sets the value of the attachRecords property.
        Parameters:
        value - allowed object is Boolean
      • isUpdatablePrimaryKeys

        public java.lang.Boolean isUpdatablePrimaryKeys()
        Whether primary key values are deemed to be "updatable" in jOOQ.

        Setting this to "true" will allow for updating primary key values through UpdatableRecord.store() and UpdatableRecord.update().

        Returns:
        possible object is Boolean
      • setUpdatablePrimaryKeys

        public void setUpdatablePrimaryKeys​(java.lang.Boolean value)
        Sets the value of the updatablePrimaryKeys property.
        Parameters:
        value - allowed object is Boolean
      • isReflectionCaching

        public java.lang.Boolean isReflectionCaching()
        Whether reflection information should be cached in the configuration.
        Returns:
        possible object is Boolean
      • setReflectionCaching

        public void setReflectionCaching​(java.lang.Boolean value)
        Sets the value of the reflectionCaching property.
        Parameters:
        value - allowed object is Boolean
      • isCacheRecordMappers

        public java.lang.Boolean isCacheRecordMappers()
        Whether record mappers should be cached in the configuration.
        Returns:
        possible object is Boolean
      • setCacheRecordMappers

        public void setCacheRecordMappers​(java.lang.Boolean value)
        Sets the value of the cacheRecordMappers property.
        Parameters:
        value - allowed object is Boolean
      • getThrowExceptions

        public ThrowExceptions getThrowExceptions()
        A strategy defining how exceptions from the database / JDBC driver should be propagated
        Returns:
        possible object is ThrowExceptions
      • setThrowExceptions

        public void setThrowExceptions​(ThrowExceptions value)
        Sets the value of the throwExceptions property.
        Parameters:
        value - allowed object is ThrowExceptions
      • isFetchWarnings

        public java.lang.Boolean isFetchWarnings()
        Whether warnings should be fetched after each query execution.
        Returns:
        possible object is Boolean
      • setFetchWarnings

        public void setFetchWarnings​(java.lang.Boolean value)
        Sets the value of the fetchWarnings property.
        Parameters:
        value - allowed object is Boolean
      • getFetchServerOutputSize

        public java.lang.Integer getFetchServerOutputSize()
        Whether server output should be fetched after each query execution.
        Returns:
        possible object is Integer
      • setFetchServerOutputSize

        public void setFetchServerOutputSize​(java.lang.Integer value)
        Sets the value of the fetchServerOutputSize property.
        Parameters:
        value - allowed object is Integer
      • isReturnIdentityOnUpdatableRecord

        public java.lang.Boolean isReturnIdentityOnUpdatableRecord()
        Whether calls to store(), insert() and update() should return the identity column.
        Returns:
        possible object is Boolean
      • setReturnIdentityOnUpdatableRecord

        public void setReturnIdentityOnUpdatableRecord​(java.lang.Boolean value)
        Sets the value of the returnIdentityOnUpdatableRecord property.
        Parameters:
        value - allowed object is Boolean
      • isReturnAllOnUpdatableRecord

        public java.lang.Boolean isReturnAllOnUpdatableRecord()
        Whether calls to store(), insert() and update() should return all columns, not just identity columns.

        Do note that only few databases support this feature. It is supported only in case the INSERT's or UPDATE's RETURNING clause is fully supported, also for non-IDENTITY columns.

        Returns:
        possible object is Boolean
      • setReturnAllOnUpdatableRecord

        public void setReturnAllOnUpdatableRecord​(java.lang.Boolean value)
        Sets the value of the returnAllOnUpdatableRecord property.
        Parameters:
        value - allowed object is Boolean
      • isReturnRecordToPojo

        public java.lang.Boolean isReturnRecordToPojo()
        Whether calls to store(), insert(), update(), and delete() that are called on an UpdatableRecord that is created from a POJO (e.g. in a DAO) should return all Record values to the POJO, including IDENTITY values, and if is active, also other values.
        Returns:
        possible object is Boolean
      • setReturnRecordToPojo

        public void setReturnRecordToPojo​(java.lang.Boolean value)
        Sets the value of the returnRecordToPojo property.
        Parameters:
        value - allowed object is Boolean
      • isMapJPAAnnotations

        public java.lang.Boolean isMapJPAAnnotations()
        Whether JPA annotations should be considered by the DefaultRecordMapper.
        Returns:
        possible object is Boolean
      • setMapJPAAnnotations

        public void setMapJPAAnnotations​(java.lang.Boolean value)
        Sets the value of the mapJPAAnnotations property.
        Parameters:
        value - allowed object is Boolean
      • isMapConstructorParameterNames

        public java.lang.Boolean isMapConstructorParameterNames()
        Whether constructor parameter names obtained via reflection in Java 8+ should be considered by the DefaultRecordMapper. This flag has no effect in Java 6 or 7.
        Returns:
        possible object is Boolean
      • setMapConstructorParameterNames

        public void setMapConstructorParameterNames​(java.lang.Boolean value)
        Sets the value of the mapConstructorParameterNames property.
        Parameters:
        value - allowed object is Boolean
      • isMapConstructorParameterNamesInKotlin

        public java.lang.Boolean isMapConstructorParameterNamesInKotlin()
        Whether constructor parameter names obtained via reflection in Kotlin should be considered by the DefaultRecordMapper. This flag has no effect in Java.
        Returns:
        possible object is Boolean
      • setMapConstructorParameterNamesInKotlin

        public void setMapConstructorParameterNamesInKotlin​(java.lang.Boolean value)
        Sets the value of the mapConstructorParameterNamesInKotlin property.
        Parameters:
        value - allowed object is Boolean
      • getQueryPoolable

        public QueryPoolable getQueryPoolable()
        The default JDBC poolable property that should be applied to all jOOQ queries, for which no specific poolable flag was specified.
        Returns:
        possible object is QueryPoolable
      • setQueryPoolable

        public void setQueryPoolable​(QueryPoolable value)
        Sets the value of the queryPoolable property.
        Parameters:
        value - allowed object is QueryPoolable
      • getQueryTimeout

        public java.lang.Integer getQueryTimeout()
        The default JDBC queryTimeout property that should be applied to all jOOQ queries, for which no specific queryTimeout was specified.
        Returns:
        possible object is Integer
      • setQueryTimeout

        public void setQueryTimeout​(java.lang.Integer value)
        Sets the value of the queryTimeout property.
        Parameters:
        value - allowed object is Integer
      • getMaxRows

        public java.lang.Integer getMaxRows()
        The default JDBC maxRows property that should be applied to all jOOQ queries, for which no specific maxRows value was specified.
        Returns:
        possible object is Integer
      • setMaxRows

        public void setMaxRows​(java.lang.Integer value)
        Sets the value of the maxRows property.
        Parameters:
        value - allowed object is Integer
      • getFetchSize

        public java.lang.Integer getFetchSize()
        The default JDBC fetchSize property that should be applied to all jOOQ queries, for which no specific fetchSize value was specified.
        Returns:
        possible object is Integer
      • setFetchSize

        public void setFetchSize​(java.lang.Integer value)
        Sets the value of the fetchSize property.
        Parameters:
        value - allowed object is Integer
      • isDebugInfoOnStackTrace

        public java.lang.Boolean isDebugInfoOnStackTrace()
        [#5570] Whether exception stack traces should be enhanced with additional debug information.
        Returns:
        possible object is Boolean
      • setDebugInfoOnStackTrace

        public void setDebugInfoOnStackTrace​(java.lang.Boolean value)
        Sets the value of the debugInfoOnStackTrace property.
        Parameters:
        value - allowed object is Boolean
      • isInListPadding

        public java.lang.Boolean isInListPadding()
        [#5600] Whether IN lists in IN predicates should be padded to powers of inListPadBase (default 2).
        Returns:
        possible object is Boolean
      • setInListPadding

        public void setInListPadding​(java.lang.Boolean value)
        Sets the value of the inListPadding property.
        Parameters:
        value - allowed object is Boolean
      • getInListPadBase

        public java.lang.Integer getInListPadBase()
        [#7095] The base to use to calculate the powers of when applying in list padding.
        Returns:
        possible object is Integer
      • setInListPadBase

        public void setInListPadBase​(java.lang.Integer value)
        Sets the value of the inListPadBase property.
        Parameters:
        value - allowed object is Integer
      • getDelimiter

        public java.lang.String getDelimiter()
        [#5826] The delimiter character to be used to delimit statements in batches.
        Returns:
        possible object is String
      • setDelimiter

        public void setDelimiter​(java.lang.String value)
        Sets the value of the delimiter property.
        Parameters:
        value - allowed object is String
      • isEmulateOnDuplicateKeyUpdateOnPrimaryKeyOnly

        public java.lang.Boolean isEmulateOnDuplicateKeyUpdateOnPrimaryKeyOnly()
        [#6462] Use only the primary key to emulate MySQL's INSERT .. ON DUPLICATE KEY UPDATE statement. In MySQL, the statement considers all unique keys for duplicates to apply an update rather than an insert. Earlier versions of jOOQ considered only the PRIMARY KEY. This flag can be turned on to maintain backwards compatibility.
        Returns:
        possible object is Boolean
      • setEmulateOnDuplicateKeyUpdateOnPrimaryKeyOnly

        public void setEmulateOnDuplicateKeyUpdateOnPrimaryKeyOnly​(java.lang.Boolean value)
        Sets the value of the emulateOnDuplicateKeyUpdateOnPrimaryKeyOnly property.
        Parameters:
        value - allowed object is Boolean
      • getExecuteUpdateWithoutWhere

        public ExecuteWithoutWhere getExecuteUpdateWithoutWhere()
        [#6771] Specifies whether UPDATE statements are allowed to be executed lacking a WHERE clause. This has no effect on rendering the statements SQL string.
        Returns:
        possible object is ExecuteWithoutWhere
      • setExecuteUpdateWithoutWhere

        public void setExecuteUpdateWithoutWhere​(ExecuteWithoutWhere value)
        Sets the value of the executeUpdateWithoutWhere property.
        Parameters:
        value - allowed object is ExecuteWithoutWhere
      • getExecuteDeleteWithoutWhere

        public ExecuteWithoutWhere getExecuteDeleteWithoutWhere()
        [#6771] Specifies whether DELETE statements are allowed to be executed lacking a WHERE clause. This has no effect on rendering the statements SQL string.
        Returns:
        possible object is ExecuteWithoutWhere
      • setExecuteDeleteWithoutWhere

        public void setExecuteDeleteWithoutWhere​(ExecuteWithoutWhere value)
        Sets the value of the executeDeleteWithoutWhere property.
        Parameters:
        value - allowed object is ExecuteWithoutWhere
      • getParseDialect

        public SQLDialect getParseDialect()
        [#7337] The input dialect that should be chosen to disambiguate ambiguous SQL syntax.
        Returns:
        possible object is String
      • setParseDialect

        public void setParseDialect​(SQLDialect value)
        Sets the value of the parseDialect property.
        Parameters:
        value - allowed object is String
      • getParseWithMetaLookups

        public ParseWithMetaLookups getParseWithMetaLookups()
        [#7163] Whether the parser should perform meta lookups in the Configuration's MetaProvider.
        Returns:
        possible object is ParseWithMetaLookups
      • setParseWithMetaLookups

        public void setParseWithMetaLookups​(ParseWithMetaLookups value)
        Sets the value of the parseWithMetaLookups property.
        Parameters:
        value - allowed object is ParseWithMetaLookups
      • setParseUnknownFunctions

        public void setParseUnknownFunctions​(ParseUnknownFunctions value)
        Sets the value of the parseUnknownFunctions property.
        Parameters:
        value - allowed object is ParseUnknownFunctions
      • isParseIgnoreComments

        public java.lang.Boolean isParseIgnoreComments()
        [#8325] Whether the parser should ignore content between ignore comment tokens.
        Returns:
        possible object is Boolean
      • setParseIgnoreComments

        public void setParseIgnoreComments​(java.lang.Boolean value)
        Sets the value of the parseIgnoreComments property.
        Parameters:
        value - allowed object is Boolean
      • getParseIgnoreCommentStart

        public java.lang.String getParseIgnoreCommentStart()
        [#8325] The ignore comment start token
        Returns:
        possible object is String
      • setParseIgnoreCommentStart

        public void setParseIgnoreCommentStart​(java.lang.String value)
        Sets the value of the parseIgnoreCommentStart property.
        Parameters:
        value - allowed object is String
      • getParseIgnoreCommentStop

        public java.lang.String getParseIgnoreCommentStop()
        [#8325] The ignore comment stop token
        Returns:
        possible object is String
      • setParseIgnoreCommentStop

        public void setParseIgnoreCommentStop​(java.lang.String value)
        Sets the value of the parseIgnoreCommentStop property.
        Parameters:
        value - allowed object is String
      • setParseSearchPath

        public void setParseSearchPath​(java.util.List<ParseSearchSchema> parseSearchPath)
      • withRenderCatalog

        public Settings withRenderCatalog​(java.lang.Boolean value)
      • withRenderSchema

        public Settings withRenderSchema​(java.lang.Boolean value)
      • withRenderNamedParamPrefix

        public Settings withRenderNamedParamPrefix​(java.lang.String value)
      • withRenderLocale

        public Settings withRenderLocale​(java.util.Locale value)
      • withRenderFormatted

        public Settings withRenderFormatted​(java.lang.Boolean value)
      • withRenderScalarSubqueriesForStoredFunctions

        public Settings withRenderScalarSubqueriesForStoredFunctions​(java.lang.Boolean value)
      • withRenderOrderByRownumberForEmulatedPagination

        public Settings withRenderOrderByRownumberForEmulatedPagination​(java.lang.Boolean value)
      • withRenderOutputForSQLServerReturningClause

        public Settings withRenderOutputForSQLServerReturningClause​(java.lang.Boolean value)
      • withFetchTriggerValuesAfterSQLServerOutput

        public Settings withFetchTriggerValuesAfterSQLServerOutput​(java.lang.Boolean value)
      • withTransformTableListsToAnsiJoin

        public Settings withTransformTableListsToAnsiJoin​(java.lang.Boolean value)
      • withInlineThreshold

        public Settings withInlineThreshold​(java.lang.Integer value)
      • withTransactionListenerStartInvocationOrder

        public Settings withTransactionListenerStartInvocationOrder​(InvocationOrder value)
      • withTransactionListenerEndInvocationOrder

        public Settings withTransactionListenerEndInvocationOrder​(InvocationOrder value)
      • withVisitListenerStartInvocationOrder

        public Settings withVisitListenerStartInvocationOrder​(InvocationOrder value)
      • withVisitListenerEndInvocationOrder

        public Settings withVisitListenerEndInvocationOrder​(InvocationOrder value)
      • withRecordListenerStartInvocationOrder

        public Settings withRecordListenerStartInvocationOrder​(InvocationOrder value)
      • withRecordListenerEndInvocationOrder

        public Settings withRecordListenerEndInvocationOrder​(InvocationOrder value)
      • withExecuteListenerStartInvocationOrder

        public Settings withExecuteListenerStartInvocationOrder​(InvocationOrder value)
      • withExecuteListenerEndInvocationOrder

        public Settings withExecuteListenerEndInvocationOrder​(InvocationOrder value)
      • withExecuteLogging

        public Settings withExecuteLogging​(java.lang.Boolean value)
      • withUpdateRecordVersion

        public Settings withUpdateRecordVersion​(java.lang.Boolean value)
      • withUpdateRecordTimestamp

        public Settings withUpdateRecordTimestamp​(java.lang.Boolean value)
      • withExecuteWithOptimisticLocking

        public Settings withExecuteWithOptimisticLocking​(java.lang.Boolean value)
      • withExecuteWithOptimisticLockingExcludeUnversioned

        public Settings withExecuteWithOptimisticLockingExcludeUnversioned​(java.lang.Boolean value)
      • withAttachRecords

        public Settings withAttachRecords​(java.lang.Boolean value)
      • withUpdatablePrimaryKeys

        public Settings withUpdatablePrimaryKeys​(java.lang.Boolean value)
      • withReflectionCaching

        public Settings withReflectionCaching​(java.lang.Boolean value)
      • withCacheRecordMappers

        public Settings withCacheRecordMappers​(java.lang.Boolean value)
      • withFetchWarnings

        public Settings withFetchWarnings​(java.lang.Boolean value)
      • withFetchServerOutputSize

        public Settings withFetchServerOutputSize​(java.lang.Integer value)
      • withReturnIdentityOnUpdatableRecord

        public Settings withReturnIdentityOnUpdatableRecord​(java.lang.Boolean value)
      • withReturnAllOnUpdatableRecord

        public Settings withReturnAllOnUpdatableRecord​(java.lang.Boolean value)
      • withReturnRecordToPojo

        public Settings withReturnRecordToPojo​(java.lang.Boolean value)
      • withMapJPAAnnotations

        public Settings withMapJPAAnnotations​(java.lang.Boolean value)
      • withMapConstructorParameterNames

        public Settings withMapConstructorParameterNames​(java.lang.Boolean value)
      • withMapConstructorParameterNamesInKotlin

        public Settings withMapConstructorParameterNamesInKotlin​(java.lang.Boolean value)
      • withQueryTimeout

        public Settings withQueryTimeout​(java.lang.Integer value)
      • withMaxRows

        public Settings withMaxRows​(java.lang.Integer value)
      • withFetchSize

        public Settings withFetchSize​(java.lang.Integer value)
      • withDebugInfoOnStackTrace

        public Settings withDebugInfoOnStackTrace​(java.lang.Boolean value)
      • withInListPadding

        public Settings withInListPadding​(java.lang.Boolean value)
      • withInListPadBase

        public Settings withInListPadBase​(java.lang.Integer value)
      • withDelimiter

        public Settings withDelimiter​(java.lang.String value)
      • withEmulateOnDuplicateKeyUpdateOnPrimaryKeyOnly

        public Settings withEmulateOnDuplicateKeyUpdateOnPrimaryKeyOnly​(java.lang.Boolean value)
      • withParseIgnoreComments

        public Settings withParseIgnoreComments​(java.lang.Boolean value)
      • withParseIgnoreCommentStart

        public Settings withParseIgnoreCommentStart​(java.lang.String value)
      • withParseIgnoreCommentStop

        public Settings withParseIgnoreCommentStop​(java.lang.String value)
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object that)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • clone

        public java.lang.Object clone()
        Overrides:
        clone in class java.lang.Object