Class IncrementGenerator

  • All Implemented Interfaces:
    ExportableProducer, Configurable, StandardGenerator, IdentifierGenerator

    public class IncrementGenerator
    extends Object
    implements StandardGenerator

    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.)