|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.hibernate.id.Assigned
public class Assigned
assigned
An IdentifierGenerator that returns the current identifier assigned
to an instance.
Field Summary |
---|
Fields inherited from interface org.hibernate.id.IdentifierGenerator |
---|
ENTITY_NAME |
Constructor Summary | |
---|---|
Assigned()
|
Method Summary | |
---|---|
void |
configure(Type type,
java.util.Properties params,
Dialect d)
Configure this instance, given the value of parameters specified by the user as <param> elements. |
java.io.Serializable |
generate(SessionImplementor session,
java.lang.Object obj)
Generate a new identifier. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public Assigned()
Method Detail |
---|
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 generated
HibernateException
public void configure(Type type, java.util.Properties params, Dialect d) throws MappingException
Configurable
configure
in interface Configurable
params
- param values, keyed by parameter name
MappingException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |