public class ULIDGenerationStrategy extends Object implements org.hibernate.id.IdentifierGenerator, org.hibernate.id.Configurable
Constructor and Description |
---|
ULIDGenerationStrategy() |
Modifier and Type | Method and Description |
---|---|
void |
configure(org.hibernate.type.Type type,
Properties params,
org.hibernate.service.ServiceRegistry serviceRegistry) |
Serializable |
generate(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object object) |
public void configure(org.hibernate.type.Type type, Properties params, org.hibernate.service.ServiceRegistry serviceRegistry) throws org.hibernate.MappingException
configure
in interface org.hibernate.id.Configurable
org.hibernate.MappingException
public Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException
generate
in interface org.hibernate.id.IdentifierGenerator
org.hibernate.HibernateException
Copyright © 2021. All rights reserved.