org.hibernate.envers
Annotation Type RevisionNumber


@Retention(value=RUNTIME)
@Target(value={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.



Copyright © 2001-2012 Red Hat, Inc. All Rights Reserved.