public class NativeDbSequencer extends UjoSequencer
Table.sequence().maxValue, SEQ_LIMIT, SEQ_MAX_VALUE, SEQ_STEP, seqLimit, sequence, table| Constructor and Description |
|---|
NativeDbSequencer(MetaTable table)
Required constructor
|
| Modifier and Type | Method and Description |
|---|---|
String |
createNextSequence(String sequenceName)
Create a SQL script for the NEXT SEQUENCE from a native database sequencer
|
long |
nextValue(Session session)
Returns the next sequence value by a synchronized method.
|
void |
reset()
Reset is unsupported
|
executeSql, getCurrentDBSequence, getDatabase, getDatabaseSchema, getIncrement, getInitDbCache, getTable, getTableName, isSequenceTableRequiredpublic NativeDbSequencer(MetaTable table)
public long nextValue(Session session)
nextValue in class UjoSequencerpublic String createNextSequence(String sequenceName) throws IOException
IOExceptionpublic void reset()
reset in class UjoSequencerCopyright 2013, Pavel Ponec