Class OverrideId
- java.lang.Object
-
- org.kie.server.spring.boot.autoconfiguration.audit.replication.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 Summary
Constructors Constructor Description OverrideId()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidconfigure(org.hibernate.type.Type type, Properties params, org.hibernate.service.ServiceRegistry serviceRegistry)Serializablegenerate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object)
-
-
-
Method Detail
-
generate
public Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException
- Specified by:
generatein interfaceorg.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:
configurein interfaceorg.hibernate.id.Configurable- Throws:
org.hibernate.MappingException
-
-