public class Serial20DigitGenerator
extends org.hibernate.id.UUIDGenerator
| Modifier and Type | Field and Description |
|---|---|
static String |
NAME |
static String |
STRATEGY |
| Constructor and Description |
|---|
Serial20DigitGenerator() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(org.hibernate.type.Type type,
Properties params,
org.hibernate.service.ServiceRegistry serviceRegistry) |
static String |
createSerial() |
Serializable |
generate(org.hibernate.engine.spi.SharedSessionContractImplementor session,
Object object) |
buildSessionFactoryUniqueIdentifierGeneratorpublic static final String NAME
public static final String STRATEGY
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.Configurableconfigure in interface org.hibernate.id.IdentifierGeneratorconfigure in class org.hibernate.id.UUIDGeneratororg.hibernate.MappingExceptionpublic Serializable generate(org.hibernate.engine.spi.SharedSessionContractImplementor session, Object object) throws org.hibernate.HibernateException
generate in interface org.hibernate.id.IdentifierGeneratorgenerate in class org.hibernate.id.UUIDGeneratororg.hibernate.HibernateExceptionpublic static String createSerial()
Copyright © 2023. All rights reserved.