public interface EnversSettings
Modifier and Type | Field and Description |
---|---|
static String |
ALLOW_IDENTIFIER_REUSE
Guarantees proper validity audit strategy behavior when application reuses identifiers of deleted entities.
|
static String |
AUDIT_STRATEGY
Audit strategy.
|
static String |
AUDIT_STRATEGY_VALIDITY_END_REV_FIELD_NAME
Column name that will hold the end revision number in audit entities.
|
static String |
AUDIT_STRATEGY_VALIDITY_REVEND_TIMESTAMP_FIELD_NAME
Column name of the timestamp of the end revision until which the data was valid.
|
static 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 String |
AUDIT_TABLE_PREFIX
Audit table prefix.
|
static String |
AUDIT_TABLE_SUFFIX
Audit table suffix.
|
static String |
DEFAULT_CATALOG
Default name of the catalog containing audit tables.
|
static String |
DEFAULT_SCHEMA
Default name of the schema containing audit tables.
|
static String |
DO_NOT_AUDIT_OPTIMISTIC_LOCKING_FIELD
Treats optimistic locking properties as unversioned.
|
static String |
EMBEDDABLE_SET_ORDINAL_FIELD_NAME
Name of column used for storing ordinal of the change in sets of embeddable elements.
|
static String |
FIND_BY_REVISION_EXACT_MATCH
Forces
AuditReader#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 String |
GLOBAL_WITH_MODIFIED_FLAG
Globally activates modified properties flag feature.
|
static String |
MODIFIED_COLUMN_NAMING_STRATEGY
Specifies the
ModifiedColumnNamingStrategy to use
Defaults to LegacyModifiedColumnNamingStrategy . |
static String |
MODIFIED_FLAG_SUFFIX
Suffix of modified flag columns.
|
static String |
ORIGINAL_ID_PROP_NAME
Original id property name name.
|
static String |
REVISION_FIELD_NAME
Revision field name.
|
static String |
REVISION_LISTENER
Fully qualified class name of user defined revision listener.
|
static String |
REVISION_ON_COLLECTION_CHANGE
Triggers revision generation when not-owned relation field changes.
|
static String |
REVISION_TYPE_FIELD_NAME
Revision type field name.
|
static String |
STORE_DATA_AT_DELETE
Indicates whether entity data should be stored during removal.
|
static String |
TRACK_ENTITIES_CHANGED_IN_REVISION
Track entity names that have been changed during each revision.
|
static String |
USE_REVISION_ENTITY_WITH_NATIVE_ID
Use revision entity with native identifier generator.
|
static final String REVISION_ON_COLLECTION_CHANGE
true
.static final String DO_NOT_AUDIT_OPTIMISTIC_LOCKING_FIELD
true
.static final String STORE_DATA_AT_DELETE
false
.static final String DEFAULT_SCHEMA
static final String DEFAULT_CATALOG
static final String TRACK_ENTITIES_CHANGED_IN_REVISION
false
.static final String USE_REVISION_ENTITY_WITH_NATIVE_ID
true
for backward compatibility.static final String GLOBAL_WITH_MODIFIED_FLAG
false
.static final String MODIFIED_FLAG_SUFFIX
static final String REVISION_LISTENER
static final String AUDIT_TABLE_PREFIX
static final String AUDIT_TABLE_SUFFIX
static final String AUDIT_STRATEGY
DefaultAuditStrategy
.static final String REVISION_FIELD_NAME
static final String REVISION_TYPE_FIELD_NAME
static final String ORIGINAL_ID_PROP_NAME
static final String AUDIT_STRATEGY_VALIDITY_END_REV_FIELD_NAME
static final String AUDIT_STRATEGY_VALIDITY_STORE_REVEND_TIMESTAMP
false
.static final String AUDIT_STRATEGY_VALIDITY_REVEND_TIMESTAMP_FIELD_NAME
static final String EMBEDDABLE_SET_ORDINAL_FIELD_NAME
static final String ALLOW_IDENTIFIER_REUSE
null
end date exists for each identifier.static final String FIND_BY_REVISION_EXACT_MATCH
AuditReader#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.static final String MODIFIED_COLUMN_NAMING_STRATEGY
ModifiedColumnNamingStrategy
to use
Defaults to LegacyModifiedColumnNamingStrategy
.Copyright © 2001-2021 Red Hat, Inc. All Rights Reserved.