@Target(value={TYPE,METHOD,FIELD}) @Retention(value=RUNTIME) public @interface AuditOverride
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.Embedded, 
Embeddable, 
MappedSuperclass, 
AssociationOverride, 
AuditJoinTable| Modifier and Type | Optional Element and Description | 
|---|---|
AuditJoinTable | 
auditJoinTable
New  
AuditJoinTable used for this field (or property). | 
Class | 
forClass
Specifies class which field (or property) mapping is being overridden. 
 | 
boolean | 
isAudited
Indicates if the field (or property) is audited; defaults to  
true. | 
String | 
name
Name of the field (or property) whose mapping is being overridden. 
 | 
public abstract String name
AuditOverride is used to change auditing behavior of all attributes inherited from
 MappedSuperclass type.public abstract boolean isAudited
true.public abstract AuditJoinTable auditJoinTable
AuditJoinTable used for this field (or property). Its value
 is ignored if isAudited() equals to false.public abstract Class forClass
AuditOverride is used to change auditing behavior of attributes inherited from
 MappedSuperclass type.Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.