package com.quantum.adapters;
import com.quantum.Messages;
-import com.quantum.sql.SQLHelper;
import com.quantum.util.QuantumUtil;
}
public String getPrevValue(String sequence, String owner) {
return "SELECT LAST_NUMBER FROM ALL_SEQUENCES WHERE SEQUENCE_OWNER = '" + owner + "' AND SEQUENCE_NAME = '" + sequence + "'"; //$NON-NLS-1$ //$NON-NLS-2$
- }
+ }
public String getNextValue(String sequence, String owner) {
- return "SELECT " + SQLHelper.getQualifiedName(owner, sequence) + ".NEXTVAL FROM DUAL";
+ return "SELECT " + getQualifiedName(owner, sequence) + ".NEXTVAL FROM DUAL";
}
public String getCommentsQuery(String tableName, String column) {
String query = "SELECT COMMENTS FROM ALL_COL_COMMENTS WHERE TABLE_NAME = '";