public class Assigned extends Object implements IdentifierGenerator, Configurable
ENTITY_NAME, JPA_ENTITY_NAME| Constructor and Description |
|---|
Assigned() |
| Modifier and Type | Method and Description |
|---|---|
void |
configure(Type type,
Properties params,
Dialect d)
Configure this instance, given the value of parameters
specified by the user as <param> elements.
|
Serializable |
generate(SessionImplementor session,
Object obj)
Generate a new identifier.
|
public Serializable generate(SessionImplementor session, Object obj) throws HibernateException
IdentifierGeneratorgenerate in interface IdentifierGeneratorobj - the entity or toplevel collection for which the id is being generatedHibernateExceptionpublic void configure(Type type, Properties params, Dialect d) throws MappingException
Configurableconfigure in interface Configurableparams - param values, keyed by parameter nameMappingExceptionCopyright © 2018 JBoss by Red Hat. All rights reserved.