public class GUIDGenerator extends Object implements IdentifierGenerator
ENTITY_NAME, GENERATOR_NAME, JPA_ENTITY_NAME| Constructor and Description |
|---|
GUIDGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
generate(SharedSessionContractImplementor session,
Object obj)
Generate a new identifier.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsupportsJdbcBatchInsertspublic Serializable generate(SharedSessionContractImplementor session, Object obj) throws HibernateException
IdentifierGeneratorgenerate in interface IdentifierGeneratorsession - The session from which the request originatesobj - the entity or collection (idbag) for which the id is being generatedHibernateException - Indicates trouble generating the identifierCopyright © 2001-2022 Red Hat, Inc. All Rights Reserved.