Quantum version 2.4.1
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / adapters / OracleAdapter.java
index a01fbbf..78d2cce 100644 (file)
@@ -1,7 +1,6 @@
 package com.quantum.adapters;
 
 import com.quantum.Messages;
-import com.quantum.sql.SQLHelper;
 import com.quantum.util.QuantumUtil;
 
 
@@ -15,9 +14,9 @@ public class OracleAdapter extends DatabaseAdapter {
        }
        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 = '";