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.

Author:
Adam Warski (adam at warski dot org), Sanne Grinovero



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