public class BuiltinSequenceIdGenerator extends AbstractPreGenerateIdGenerator implements SequenceIdGenerator
SequenceIdGenerator.AbstractPreGenerateIdGenerator.IdContext| Modifier and Type | Field and Description |
|---|---|
protected java.lang.String |
qualifiedSequenceName |
allocationSize, idContextMap, initialValue| Constructor and Description |
|---|
BuiltinSequenceIdGenerator() |
| Modifier and Type | Method and Description |
|---|---|
GenerationType |
getGenerationType()
Returns the generation type.
|
protected long |
getNewInitialValue(IdGenerationConfig config)
Return the next initial value.
|
void |
initialize()
Initializes this generator.
|
void |
setQualifiedSequenceName(java.lang.String qualifiedSequenceName)
Sets the qualified name of the sequence.
|
generatePostInsert, generatePreInsert, getIdContext, includesIdentityColumn, setAllocationSize, setInitialValue, supportsAutoGeneratedKeys, supportsBatchgetGeneratedValue, getGeneratedValue, setupOptionsclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitsetAllocationSize, setInitialValuegeneratePostInsert, generatePreInsert, includesIdentityColumn, supportsAutoGeneratedKeys, supportsBatchpublic void setQualifiedSequenceName(java.lang.String qualifiedSequenceName)
SequenceIdGeneratorsetQualifiedSequenceName in interface SequenceIdGeneratorqualifiedSequenceName - the qualified name of the sequencepublic void initialize()
SequenceIdGeneratorinitialize in interface SequenceIdGeneratorprotected long getNewInitialValue(IdGenerationConfig config)
AbstractPreGenerateIdGeneratorgetNewInitialValue in class AbstractPreGenerateIdGeneratorconfig - the configurationpublic GenerationType getGenerationType()
IdGeneratorgetGenerationType in interface IdGenerator