public class TableHiLoGenerator extends TableGenerator
SequenceHiLoGenerator
Modifier and Type | Field and Description |
---|---|
static String |
MAX_LO
The max_lo parameter
|
COLUMN, DEFAULT_COLUMN_NAME, DEFAULT_TABLE_NAME, TABLE
CATALOG, IDENTIFIER_NORMALIZER, PK, SCHEMA, TABLES
ENTITY_NAME
Constructor and Description |
---|
TableHiLoGenerator() |
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.
|
buildHolder, generateHolder, generatorKey, sqlCreateStrings, sqlDropStrings
public static final String MAX_LO
public void configure(Type type, Properties params, Dialect d)
Configurable
configure
in interface Configurable
configure
in class TableGenerator
params
- param values, keyed by parameter namepublic Serializable generate(SessionImplementor session, Object obj)
IdentifierGenerator
generate
in interface IdentifierGenerator
generate
in class TableGenerator
obj
- the entity or toplevel collection for which the id is being generatedCopyright © 2012 JBoss by Red Hat. All Rights Reserved.