public interface IdentifierGenerator
PersistentIdentifierGenerator
,
Configurable
Modifier and Type | Field and Description |
---|---|
static String |
ENTITY_NAME
The configuration parameter holding the entity name
|
Modifier and Type | Method and Description |
---|---|
Serializable |
generate(SessionImplementor session,
Object object)
Generate a new identifier.
|
static final String ENTITY_NAME
Serializable generate(SessionImplementor session, Object object) throws HibernateException
session
- object
- the entity or toplevel collection for which the id is being generatedHibernateException
Copyright © 2012 JBoss by Red Hat. All Rights Reserved.