Interface EnversSettings
-
public interface EnversSettings
Configuration property names.
-
-
Field Summary
Fields Modifier and Type Field Description static java.lang.String
ALLOW_IDENTIFIER_REUSE
Guarantees proper validity audit strategy behavior when application reuses identifiers of deleted entities.static java.lang.String
AUDIT_STRATEGY
Audit strategy.static java.lang.String
AUDIT_STRATEGY_VALIDITY_END_REV_FIELD_NAME
Column name that will hold the end revision number in audit entities.static java.lang.String
AUDIT_STRATEGY_VALIDITY_REVEND_TIMESTAMP_FIELD_NAME
Column name of the timestamp of the end revision until which the data was valid.static java.lang.String
AUDIT_STRATEGY_VALIDITY_STORE_REVEND_TIMESTAMP
Store the timestamp of the end revision, until which the data was valid, in addition to the end revision itself.static java.lang.String
AUDIT_TABLE_PREFIX
Audit table prefix.static java.lang.String
AUDIT_TABLE_SUFFIX
Audit table suffix.static java.lang.String
DEFAULT_CATALOG
Default name of the catalog containing audit tables.static java.lang.String
DEFAULT_SCHEMA
Default name of the schema containing audit tables.static java.lang.String
DO_NOT_AUDIT_OPTIMISTIC_LOCKING_FIELD
Treats optimistic locking properties as unversioned.static java.lang.String
EMBEDDABLE_SET_ORDINAL_FIELD_NAME
Name of column used for storing ordinal of the change in sets of embeddable elements.static java.lang.String
FIND_BY_REVISION_EXACT_MATCH
ForcesAuditReader#find
implementations that accept a revision-number argument to perform an exact match against the supplied revision number rather than potentially returning hits that are less-than or equal-to the supplied revision number.static java.lang.String
GLOBAL_WITH_MODIFIED_FLAG
Globally activates modified properties flag feature.static java.lang.String
MODIFIED_COLUMN_NAMING_STRATEGY
Specifies theModifiedColumnNamingStrategy
to use Defaults toLegacyModifiedColumnNamingStrategy
.static java.lang.String
MODIFIED_FLAG_SUFFIX
Suffix of modified flag columns.static java.lang.String
ORIGINAL_ID_PROP_NAME
Original id property name name.static java.lang.String
REVISION_FIELD_NAME
Revision field name.static java.lang.String
REVISION_LISTENER
Fully qualified class name of user defined revision listener.static java.lang.String
REVISION_ON_COLLECTION_CHANGE
Triggers revision generation when not-owned relation field changes.static java.lang.String
REVISION_TYPE_FIELD_NAME
Revision type field name.static java.lang.String
STORE_DATA_AT_DELETE
Indicates whether entity data should be stored during removal.static java.lang.String
TRACK_ENTITIES_CHANGED_IN_REVISION
Track entity names that have been changed during each revision.static java.lang.String
USE_REVISION_ENTITY_WITH_NATIVE_ID
Use revision entity with native identifier generator.
-
-
-
Field Detail
-
REVISION_ON_COLLECTION_CHANGE
static final java.lang.String REVISION_ON_COLLECTION_CHANGE
Triggers revision generation when not-owned relation field changes. Defaults totrue
.- See Also:
- Constant Field Values
-
DO_NOT_AUDIT_OPTIMISTIC_LOCKING_FIELD
static final java.lang.String DO_NOT_AUDIT_OPTIMISTIC_LOCKING_FIELD
Treats optimistic locking properties as unversioned. Defaults totrue
.- See Also:
- Constant Field Values
-
STORE_DATA_AT_DELETE
static final java.lang.String STORE_DATA_AT_DELETE
Indicates whether entity data should be stored during removal. Defaults tofalse
.- See Also:
- Constant Field Values
-
DEFAULT_SCHEMA
static final java.lang.String DEFAULT_SCHEMA
Default name of the schema containing audit tables.- See Also:
- Constant Field Values
-
DEFAULT_CATALOG
static final java.lang.String DEFAULT_CATALOG
Default name of the catalog containing audit tables.- See Also:
- Constant Field Values
-
TRACK_ENTITIES_CHANGED_IN_REVISION
static final java.lang.String TRACK_ENTITIES_CHANGED_IN_REVISION
Track entity names that have been changed during each revision. Defaults tofalse
.- See Also:
- Constant Field Values
-
USE_REVISION_ENTITY_WITH_NATIVE_ID
static final java.lang.String USE_REVISION_ENTITY_WITH_NATIVE_ID
Use revision entity with native identifier generator. Defaults totrue
for backward compatibility.- See Also:
- Constant Field Values
-
GLOBAL_WITH_MODIFIED_FLAG
static final java.lang.String GLOBAL_WITH_MODIFIED_FLAG
Globally activates modified properties flag feature. Defaults tofalse
.- See Also:
- Constant Field Values
-
MODIFIED_FLAG_SUFFIX
static final java.lang.String MODIFIED_FLAG_SUFFIX
Suffix of modified flag columns. Defaults to _MOD.- See Also:
- Constant Field Values
-
REVISION_LISTENER
static final java.lang.String REVISION_LISTENER
Fully qualified class name of user defined revision listener.- See Also:
- Constant Field Values
-
AUDIT_TABLE_PREFIX
static final java.lang.String AUDIT_TABLE_PREFIX
Audit table prefix. Empty by default.- See Also:
- Constant Field Values
-
AUDIT_TABLE_SUFFIX
static final java.lang.String AUDIT_TABLE_SUFFIX
Audit table suffix. Defaults to _AUD.- See Also:
- Constant Field Values
-
AUDIT_STRATEGY
static final java.lang.String AUDIT_STRATEGY
Audit strategy. Defaults toDefaultAuditStrategy
.- See Also:
- Constant Field Values
-
REVISION_FIELD_NAME
static final java.lang.String REVISION_FIELD_NAME
Revision field name. Defaults to REV.- See Also:
- Constant Field Values
-
REVISION_TYPE_FIELD_NAME
static final java.lang.String REVISION_TYPE_FIELD_NAME
Revision type field name. Defaults to REVTYPE.- See Also:
- Constant Field Values
-
ORIGINAL_ID_PROP_NAME
static final java.lang.String ORIGINAL_ID_PROP_NAME
Original id property name name. Defaults to originalId.- See Also:
- Constant Field Values
-
AUDIT_STRATEGY_VALIDITY_END_REV_FIELD_NAME
static final java.lang.String AUDIT_STRATEGY_VALIDITY_END_REV_FIELD_NAME
Column name that will hold the end revision number in audit entities. Defaults to REVEND.- See Also:
- Constant Field Values
-
AUDIT_STRATEGY_VALIDITY_STORE_REVEND_TIMESTAMP
static final java.lang.String AUDIT_STRATEGY_VALIDITY_STORE_REVEND_TIMESTAMP
Store the timestamp of the end revision, until which the data was valid, in addition to the end revision itself. Defaults tofalse
.- See Also:
- Constant Field Values
-
AUDIT_STRATEGY_VALIDITY_REVEND_TIMESTAMP_FIELD_NAME
static final java.lang.String AUDIT_STRATEGY_VALIDITY_REVEND_TIMESTAMP_FIELD_NAME
Column name of the timestamp of the end revision until which the data was valid. Defaults to REVEND_TSTMP.- See Also:
- Constant Field Values
-
EMBEDDABLE_SET_ORDINAL_FIELD_NAME
static final java.lang.String EMBEDDABLE_SET_ORDINAL_FIELD_NAME
Name of column used for storing ordinal of the change in sets of embeddable elements. Defaults to SETORDINAL.- See Also:
- Constant Field Values
-
ALLOW_IDENTIFIER_REUSE
static final java.lang.String ALLOW_IDENTIFIER_REUSE
Guarantees proper validity audit strategy behavior when application reuses identifiers of deleted entities. Exactly one row withnull
end date exists for each identifier.- See Also:
- Constant Field Values
-
FIND_BY_REVISION_EXACT_MATCH
static final java.lang.String FIND_BY_REVISION_EXACT_MATCH
ForcesAuditReader#find
implementations that accept a revision-number argument to perform an exact match against the supplied revision number rather than potentially returning hits that are less-than or equal-to the supplied revision number. This option is meant to maintain backward compatibility while attempting to correct a bug in behavior without impacting existing users who may use the current behavior. Defaults to false.- Since:
- 5.4.4
- See Also:
- Constant Field Values
-
MODIFIED_COLUMN_NAMING_STRATEGY
static final java.lang.String MODIFIED_COLUMN_NAMING_STRATEGY
Specifies theModifiedColumnNamingStrategy
to use Defaults toLegacyModifiedColumnNamingStrategy
.- Since:
- 5.4.7
- See Also:
- Constant Field Values
-
-