Class AutoIncrementGenerator

  • All Implemented Interfaces:
    org.hibernate.id.Configurable, org.hibernate.id.IdentifierGenerator

    public class AutoIncrementGenerator
    extends Object
    implements org.hibernate.id.IdentifierGenerator, org.hibernate.id.Configurable
    • Constructor Detail

      • AutoIncrementGenerator

        public AutoIncrementGenerator()
    • Method Detail

      • configure

        public void configure​(org.hibernate.type.Type t,
                              Properties params,
                              org.hibernate.dialect.Dialect dialect)
                       throws org.hibernate.MappingException
        Specified by:
        configure in interface org.hibernate.id.Configurable
        Throws:
        org.hibernate.MappingException
      • generate

        public Serializable generate​(org.hibernate.engine.spi.SessionImplementor session,
                                     Object object)
                              throws org.hibernate.HibernateException
        Specified by:
        generate in interface org.hibernate.id.IdentifierGenerator
        Throws:
        org.hibernate.HibernateException