Package org.hibernate.envers

Annotation Type RevisionNumber


  • @Retention(RUNTIME)@Target({METHOD,FIELD})public @interfaceRevisionNumber
    Marks a property which will hold the number of the revision in a revision entity, seeRevisionListener. Values of this property should form a strictly-increasing sequence of numbers. The value of this property won't be set by Envers. In most cases, this should be an auto-generated database-assigned primary id.