public class GUIDGenerator extends java.lang.Object implements IdentifierGenerator
ENTITY_NAME, JPA_ENTITY_NAME
Constructor and Description |
---|
GUIDGenerator() |
Modifier and Type | Method and Description |
---|---|
java.io.Serializable |
generate(SessionImplementor session,
java.lang.Object obj)
Generate a new identifier.
|
public java.io.Serializable generate(SessionImplementor session, java.lang.Object obj) throws HibernateException
IdentifierGenerator
generate
in interface IdentifierGenerator
obj
- the entity or toplevel collection for which the id is being generatedHibernateException
Copyright © 2001-2013 Red Hat, Inc. All Rights Reserved.