程序包 org.hibernate.id

类 IncrementGenerator

  • 所有已实现的接口:
    Configurable, IdentifierGenerator

    public class IncrementGenerator
    extends Object
    implements IdentifierGenerator, Configurable
    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.)
    作者:
    Gavin King, Steve Ebersole, Brett Meyer