Class ClassesAuditingData
- java.lang.Object
-
- org.hibernate.envers.configuration.internal.ClassesAuditingData
-
public class ClassesAuditingData extends Object
A helper class holding auditing meta-data for all persistent classes during boot-time.
-
-
Constructor Summary
Constructors Constructor Description ClassesAuditingData()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
addClassAuditingData(ClassAuditingData cad)
Stores information about auditing meta-data for the given class.Collection<ClassAuditingData>
getAllClassAuditedData()
void
updateCalculatedFields()
After all meta-data is read, updates calculated fields.
-
-
-
Method Detail
-
addClassAuditingData
public void addClassAuditingData(ClassAuditingData cad)
Stores information about auditing meta-data for the given class.- Parameters:
cad
- Auditing meta-data for the given class.
-
getAllClassAuditedData
public Collection<ClassAuditingData> getAllClassAuditedData()
- Returns:
- A collection of all auditing meta-data for persistent classes.
-
updateCalculatedFields
public void updateCalculatedFields()
After all meta-data is read, updates calculated fields. This includes:- setting
forceInsertable
totrue
for properties specified by@AuditMappedBy
- adding
synthetic
properties to mappedBy relations which haveIndexColumn
orOrderColumn
.
- setting
-
-