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
SqlResourceException
void setNextValue(Connection connection, String table, String sequenceName, int nextval, boolean printAction) throws SqlResourceException
SqlResourceException
Copyright © 2011-2018 restSQL Project Contributors