public interface SequenceManager
| Modifier and Type | Method and Description |
|---|---|
int |
getCurrentValue(Connection connection,
String sequenceName)
Retrieves current sequence value.
|
void |
setNextValue(Connection connection,
String table,
String sequenceName,
int nextval,
boolean printAction)
Resets sequence to desired value.
|
int getCurrentValue(Connection connection, String sequenceName) throws SqlResourceException
SqlResourceExceptionvoid setNextValue(Connection connection, String table, String sequenceName, int nextval, boolean printAction) throws SqlResourceException
SqlResourceExceptionCopyright © 2011-2018 restSQL Project Contributors