Annotation Interface CommitLog
An annotation that enables commit log tracking for a Persistent entity class.
Place on entity classes to include them in commit log notifications delivered to
CommitLogListener implementations.- Since:
- 5.0
- See Also:
-
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionString[]Properties whose values should be masked in commit log records.booleanWhentrue, all attribute changes are excluded from commit log records.String[]Properties to exclude from commit log records.booleanWhentrue, all to-many relationship changes are excluded from commit log records.booleanWhentrue, all to-one relationship changes are excluded from commit log records.
-
Element Details
-
ignoredProperties
-
ignoreAttributes
boolean ignoreAttributesWhentrue, all attribute changes are excluded from commit log records.- Default:
false
-
ignoreToOneRelationships
boolean ignoreToOneRelationshipsWhentrue, all to-one relationship changes are excluded from commit log records.- Default:
false
-
ignoreToManyRelationships
boolean ignoreToManyRelationshipsWhentrue, all to-many relationship changes are excluded from commit log records.- Default:
false
-
confidential
String[] confidentialProperties whose values should be masked in commit log records. Changes to these properties are still captured, but old and new values are replaced withConfidential.getInstance().- Default:
{}
-