Class EmulatedSequenceReactiveIdentifierGenerator

  • All Implemented Interfaces:
    java.io.Serializable, org.hibernate.boot.model.relational.ExportableProducer, org.hibernate.generator.BeforeExecutionGenerator, org.hibernate.generator.Generator, org.hibernate.id.Configurable, org.hibernate.id.IdentifierGenerator, ReactiveIdentifierGenerator<java.lang.Long>

    public class EmulatedSequenceReactiveIdentifierGenerator
    extends TableReactiveIdentifierGenerator
    Support for JPA's SequenceGenerator for databases which do not support sequences. Persistence is managed via a table with just one row and one column.

    This implementation supports block allocation, but does not guarantee that generated identifiers are sequential.

    See Also:
    Serialized Form