类 AutoIncrementGenerator

  • 所有已实现的接口:
    org.hibernate.id.Configurable, org.hibernate.id.IdentifierGenerator

    public class AutoIncrementGenerator
    extends Object
    implements org.hibernate.id.IdentifierGenerator, org.hibernate.id.Configurable
    • 构造器详细资料

      • AutoIncrementGenerator

        public AutoIncrementGenerator()
    • 方法详细资料

      • configure

        public void configure​(org.hibernate.type.Type t,
                              Properties params,
                              org.hibernate.dialect.Dialect dialect)
                       throws org.hibernate.MappingException
        指定者:
        configure 在接口中 org.hibernate.id.Configurable
        抛出:
        org.hibernate.MappingException
      • generate

        public Serializable generate​(org.hibernate.engine.spi.SessionImplementor session,
                                     Object object)
                              throws org.hibernate.HibernateException
        指定者:
        generate 在接口中 org.hibernate.id.IdentifierGenerator
        抛出:
        org.hibernate.HibernateException