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
IdentifierGenerator
generate
in interface IdentifierGenerator
obj
- the entity or toplevel collection for which the id is being generatedHibernateException
Copyright © 2002-2015 Red Hat Middleware, LLC. All Rights Reserved