public class OrderedSequenceStructure extends SequenceStructure
sequenceName
Constructor and Description |
---|
OrderedSequenceStructure(JdbcEnvironment jdbcEnvironment,
QualifiedName qualifiedSequenceName,
int initialValue,
int incrementSize,
Class numberType) |
Modifier and Type | Method and Description |
---|---|
protected void |
buildSequence(Database database) |
String[] |
sqlCreateStrings(Dialect dialect)
Commands needed to create the underlying structures.
|
String[] |
sqlDropStrings(Dialect dialect)
Commands needed to drop the underlying structures.
|
buildCallback, getIncrementSize, getInitialValue, getName, getQualifiedName, getSourceIncrementSize, getTimesAccessed, isPhysicalSequence, prepare, registerExportables
public OrderedSequenceStructure(JdbcEnvironment jdbcEnvironment, QualifiedName qualifiedSequenceName, int initialValue, int incrementSize, Class numberType)
public String[] sqlCreateStrings(Dialect dialect) throws HibernateException
DatabaseStructure
sqlCreateStrings
in interface DatabaseStructure
sqlCreateStrings
in class SequenceStructure
dialect
- The database dialect being used.HibernateException
public String[] sqlDropStrings(Dialect dialect) throws HibernateException
DatabaseStructure
sqlDropStrings
in interface DatabaseStructure
sqlDropStrings
in class SequenceStructure
dialect
- The database dialect being used.HibernateException
protected void buildSequence(Database database)
buildSequence
in class SequenceStructure
Copyright © 2019 JBoss by Red Hat. All rights reserved.