public class GUIDGenerator extends Object implements IdentifierGenerator
ENTITY_NAME| Constructor and Description |
|---|
GUIDGenerator() |
| Modifier and Type | Method and Description |
|---|---|
Serializable |
generate(SessionImplementor session,
Object obj)
Generate a new identifier.
|
public Serializable generate(SessionImplementor session, Object obj) throws HibernateException
IdentifierGeneratorgenerate in interface IdentifierGeneratorobj - the entity or toplevel collection for which the id is being generatedHibernateExceptionCopyright © 2002-2017 Red Hat Middleware, LLC. All Rights Reserved