public class ResettableTableHiLoGeneratorV5
extends com.atlassian.hibernate.extras.ResettableTableHiLoGenerator
implements org.hibernate.id.IdentifierGenerator, org.hibernate.id.Configurable
ResettableTableHiLoGenerator that implements Hibernate5's IdentifierGenerator.
Ideally we should be using one of the off-the-shelf Hibernate ID generators, bu we need the "reset"
functionality of this custom one.| Constructor and Description |
|---|
ResettableTableHiLoGeneratorV5() |
| 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) |
configure, generate, getMaxLo, resetpublic 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
org.hibernate.MappingExceptionCopyright © 2003–2021 Atlassian. All rights reserved.