Annotation Interface AuditOverride


The AuditingOverride annotation is used to override the auditing behavior of a superclass or single property inherited from MappedSuperclass type, or attribute inside an embedded component.
See Also:
  • Optional Element Summary

    Optional Elements
    Modifier and Type
    Optional Element
    Description
    New AuditJoinTable used for this field (or property).
    Specifies class which field (or property) mapping is being overridden.
    boolean
    Indicates if the field (or property) is audited; defaults to true.
    Name of the field (or property) whose mapping is being overridden.
  • Element Details

    • name

      String name
      Name of the field (or property) whose mapping is being overridden. Allows empty value if AuditOverride is used to change auditing behavior of all attributes inherited from MappedSuperclass type.
      Default:
      ""
    • isAudited

      boolean isAudited
      Indicates if the field (or property) is audited; defaults to true.
      Default:
      true
    • auditJoinTable

      AuditJoinTable auditJoinTable
      New AuditJoinTable used for this field (or property). Its value is ignored if isAudited() equals to false.
      Default:
      @org.hibernate.envers.AuditJoinTable
    • forClass

      Class forClass
      Specifies class which field (or property) mapping is being overridden. Required if AuditOverride is used to change auditing behavior of attributes inherited from MappedSuperclass type.
      Default:
      void.class