public class GUIDGenerator extends Object implements IdentifierGenerator
ENTITY_NAME, JPA_ENTITY_NAME
Constructor and Description |
---|
GUIDGenerator() |
public Serializable generate(SessionImplementor session, Object obj) throws HibernateException
IdentifierGenerator
generate
in interface IdentifierGenerator
session
- 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-2015 Red Hat, Inc. All Rights Reserved.