Save This Page
Home » hibernate-core-src-20081106 » org.hibernate.envers » [javadoc | source]
org.hibernate.envers
public class: RevisionEntity [javadoc | source]
org.hibernate.envers.RevisionEntity
Marks an entity to be created whenever a new revision is generated. The revisions entity must have an integer-valued unique property (preferrably the primary id) annotated with RevisionNumber and a long-valued property annotated with RevisionTimestamp . The DefaultRevisionEntity already has those two fields, so you may extend it, but you may also write your own revision entity from scratch.
Method from org.hibernate.envers.RevisionEntity Summary:
value
Method from org.hibernate.envers.RevisionEntity Detail:
 Class value()