public class TableHiLoGenerator extends TableGenerator
SequenceHiLoGenerator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MAX_LO
The max_lo parameter
|
COLUMN, DEFAULT_COLUMN_NAME, DEFAULT_TABLE_NAME, TABLECATALOG, IDENTIFIER_NORMALIZER, PK, SCHEMA, SQL_STATEMENT_LOGGER, TABLESENTITY_NAME| Constructor and Description |
|---|
TableHiLoGenerator() |
| Modifier and Type | Method and Description |
|---|---|
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.
|
buildHolder, doWorkInCurrentTransaction, generateHolder, generatorKey, sqlCreateStrings, sqlDropStringsdoWorkInNewTransactionpublic static final java.lang.String MAX_LO
public void configure(Type type, java.util.Properties params, Dialect d)
Configurableconfigure in interface Configurableconfigure in class TableGeneratorparams - param values, keyed by parameter namepublic java.io.Serializable generate(SessionImplementor session, java.lang.Object obj)
IdentifierGeneratorgenerate in interface IdentifierGeneratorgenerate in class TableGeneratorobj - the entity or toplevel collection for which the id is being generatedCopyright © 2013. All Rights Reserved.