public class SequenceHiLoGenerator extends SequenceGenerator
| Modifier and Type | Field and Description |
|---|---|
static String |
MAX_LO |
PARAMETERS, SEQUENCECATALOG, IDENTIFIER_NORMALIZER, PK, SCHEMA, TABLE, TABLESENTITY_NAME, JPA_ENTITY_NAME| Constructor and Description |
|---|
SequenceHiLoGenerator() |
| 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, determineBulkInsertionIdentifierGenerationSelectFragment, generateHolder, generatorKey, getIdentifierType, getSequenceName, sqlCreateStrings, sqlDropStrings, supportsBulkInsertionIdentifierGenerationpublic static final String MAX_LO
public void configure(Type type, Properties params, Dialect d) throws MappingException
Configurableconfigure in interface Configurableconfigure in class SequenceGeneratorparams - param values, keyed by parameter nameMappingExceptionpublic Serializable generate(SessionImplementor session, Object obj)
IdentifierGeneratorgenerate in interface IdentifierGeneratorgenerate in class SequenceGeneratorsession - The session from which the request originatesobj - the entity or collection (idbag) for which the id is being generatedCopyright © 2001-2015 Red Hat, Inc. All Rights Reserved.