liquibase.statement.SequenceNextValueFunction Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of liquibase-core Show documentation
Show all versions of liquibase-core Show documentation
Liquibase is a tool for managing and executing database changes.
package liquibase.statement;
/**
* Represents a function for getting the next value from a sequence
*/
public class SequenceNextValueFunction extends DatabaseFunction {
public SequenceNextValueFunction() {
this("UNSET");
}
public SequenceNextValueFunction(String sequenceName) {
super(sequenceName);
}
public SequenceNextValueFunction(String sequenceSchemaName, String sequenceName) {
super(sequenceSchemaName, sequenceName);
}
/**
* @deprecated use {@link #getSchemaName()}
*/
public String getSequenceSchemaName() {
return this.getSchemaName();
}
/**
* @deprecated use {@link #getSchemaName()}
*/
public void setSequenceSchemaName(String sequenceSchemaName) {
super.setSchemaName(sequenceSchemaName);
}
}