@Retention(value=RUNTIME)
@Target(value=TYPE)
public @interface RevisionEntity
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.Modifier and Type | Optional Element and Description |
---|---|
java.lang.Class<? extends RevisionListener> |
value
The optional listener that will be used to fill in the custom revision entity.
|
public abstract java.lang.Class<? extends RevisionListener> value
org.hibernate.envers.revision_listener
configuration property.Copyright © 2001-2018 Red Hat, Inc. All Rights Reserved.