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