Avoid NPE in EntryPointTab
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / adapters / AdabasDAdapter.java
index 42c403a..996fc3d 100644 (file)
@@ -2,10 +2,16 @@ package com.quantum.adapters;
 
 
 public class AdabasDAdapter extends DatabaseAdapter {
-    public String getShowTableQuery(String qualifier, boolean isDefault) {
+    /**
+        * @param type
+        */
+       protected AdabasDAdapter() {
+               super(AdapterFactory.ADABASD);
+       }
+       public String getShowTableQuery(String qualifier) {
         return "SELECT OWNER, TABLENAME FROM TABLES WHERE OWNER = '" + qualifier.toUpperCase() + "'"; //$NON-NLS-1$
     }
-    public String getShowViewQuery(String qualifier, boolean isDefault) {
+    public String getShowViewQuery(String qualifier) {
         return "SELECT OWNER, VIEWNAME FROM VIEWS WHERE OWNER = '" + qualifier.toUpperCase() + "'"; //$NON-NLS-1$
     }
 }