Class IncrementGenerator

  • All Implemented Interfaces:
    ExportableProducer, Configurable, IdentifierGenerator

    public class IncrementGenerator
    extends java.lang.Object
    implements IdentifierGenerator
    increment

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