public class PostgreSqlSequenceManager extends AbstractSequenceManager
Constructor and Description |
---|
PostgreSqlSequenceManager() |
Modifier and Type | Method and Description |
---|---|
String |
getCurrentValueSql(String sequenceName) |
void |
setNextValue(Connection connection,
String table,
String sequenceName,
int nextval,
boolean printAction)
Resets sequence to desired value.
|
getCurrentValue
public String getCurrentValueSql(String sequenceName)
getCurrentValueSql
in class AbstractSequenceManager
public void setNextValue(Connection connection, String table, String sequenceName, int nextval, boolean printAction) throws SqlResourceException
SequenceManager
SqlResourceException
Copyright © 2011-2018 restSQL Project Contributors