Annotation Interface RevisionNumber


@Retention(RUNTIME) @Target({METHOD,FIELD}) public @interface RevisionNumber
Marks a property which will hold the number of the revision in a revision entity, see RevisionListener. 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.