Class OrderedSequenceGenerator

java.lang.Object
org.hibernate.id.enhanced.SequenceStyleGenerator
org.hibernate.envers.enhanced.OrderedSequenceGenerator
All Implemented Interfaces:
Serializable, ExportableProducer, BeforeExecutionGenerator, Generator, BulkInsertionCapableIdentifierGenerator, Configurable, IdentifierGenerator, OptimizableGenerator, PersistentIdentifierGenerator

public class OrderedSequenceGenerator extends SequenceStyleGenerator
Revision number generator has to produce values in ascending order (gaps may occur).

This generator is only applicable when USE_REVISION_ENTITY_WITH_NATIVE_ID is false in the bootstrapping configuration properties.

See Also: