public class OrderedSequenceGenerator extends SequenceStyleGenerator
CONFIG_PREFER_SEQUENCE_PER_ENTITY, CONFIG_SEQUENCE_PER_ENTITY_SUFFIX, DEF_SEQUENCE_NAME, DEF_SEQUENCE_SUFFIX, DEF_VALUE_COLUMN, DEFAULT_INCREMENT_SIZE, DEFAULT_INITIAL_VALUE, FORCE_TBL_PARAM, INCREMENT_PARAM, INITIAL_PARAM, OPT_PARAM, SEQUENCE_PARAM, VALUE_COLUMN_PARAM
CATALOG, IDENTIFIER_NORMALIZER, PK, SCHEMA, TABLE, TABLES
ENTITY_NAME, JPA_ENTITY_NAME
Constructor and Description |
---|
OrderedSequenceGenerator() |
Modifier and Type | Method and Description |
---|---|
String[] |
sqlCreateStrings(Dialect dialect)
The SQL required to create the underlying database objects.
|
buildDatabaseStructure, configure, determineAdjustedIncrementSize, determineBulkInsertionIdentifierGenerationSelectFragment, determineIncrementSize, determineInitialValue, determineOptimizationStrategy, determineSequenceName, determineValueColumnName, generate, generatorKey, getDatabaseStructure, getIdentifierType, getOptimizer, registerExportables, sqlDropStrings, supportsBulkInsertionIdentifierGeneration
public String[] sqlCreateStrings(Dialect dialect) throws HibernateException
PersistentIdentifierGenerator
sqlCreateStrings
in interface PersistentIdentifierGenerator
sqlCreateStrings
in class SequenceStyleGenerator
dialect
- The dialect against which to generate the create command(s)HibernateException
- problem creating the create command(s)Copyright © 2016 JBoss by Red Hat. All rights reserved.