Class IncrementGenerator

  • All Implemented Interfaces:
    Configurable, IdentifierGenerator

    public class IncrementGenerator
    extends Object
    implements IdentifierGenerator, Configurable

    An IdentifierGenerator that returns a long, constructed by counting from the maximum primary key value at startup. Not safe for use in a cluster!

    Mapping parameters supported, but not usually needed: tables, column. (The tables parameter specified a comma-separated list of table names.)
    • Constructor Detail

      • IncrementGenerator

        public IncrementGenerator()