java.lang.Object
org.hibernate.id.Assigned
- All Implemented Interfaces:
- Configurable, IdentifierGenerator
- public class Assigned
- extends java.lang.Object
- implements IdentifierGenerator, Configurable
assigned
An IdentifierGenerator that returns the current identifier assigned
to an instance.
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
entityName
private java.lang.String entityName
Assigned
public Assigned()
generate
public java.io.Serializable generate(org.hibernate.engine.SessionImplementor session,
java.lang.Object obj)
throws org.hibernate.HibernateException
- Description copied from interface:
IdentifierGenerator
- Generate a new identifier.
- Specified by:
generate in interface IdentifierGenerator
configure
public void configure(org.hibernate.type.Type type,
java.util.Properties params,
org.hibernate.dialect.Dialect d)
throws org.hibernate.MappingException
- Description copied from interface:
Configurable
- Configure this instance, given the value of parameters
specified by the user as <param> elements.
This method is called just once, following instantiation.
- Specified by:
configure in interface Configurable