public class SequenceHiLoGenerator extends SequenceGenerator
TableHiLoGenerator| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
MAX_LO |
PARAMETERS, SEQUENCECATALOG, IDENTIFIER_NORMALIZER, PK, SCHEMA, SQL_STATEMENT_LOGGER, TABLE, TABLESENTITY_NAME| Constructor and Description |
|---|
SequenceHiLoGenerator() |
| 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, generateHolder, generatorKey, getIdentifierType, getSequenceName, sqlCreateStrings, sqlDropStringspublic static final java.lang.String MAX_LO
public void configure(Type type, java.util.Properties params, Dialect d) throws MappingException
Configurableconfigure in interface Configurableconfigure in class SequenceGeneratorparams - param values, keyed by parameter nameMappingExceptionpublic java.io.Serializable generate(SessionImplementor session, java.lang.Object obj)
IdentifierGeneratorgenerate in interface IdentifierGeneratorgenerate in class SequenceGeneratorobj - the entity or toplevel collection for which the id is being generatedCopyright © 2013. All Rights Reserved.