Class OverrideId

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

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

      • OverrideId

        public OverrideId()
    • Method Detail

      • generate

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

        public void configure​(org.hibernate.type.Type type,
                              Properties params,
                              org.hibernate.service.ServiceRegistry serviceRegistry)
                       throws org.hibernate.MappingException
        Specified by:
        configure in interface org.hibernate.id.Configurable
        Throws:
        org.hibernate.MappingException