1) Added missing strings for italic, underline and strike through.
[phpeclipse.git] / archive / net.sourceforge.phpeclipse.quantum.sql / src / com / quantum / model / TableImpl.java
index cddb0bc..c0440cc 100644 (file)
@@ -3,18 +3,17 @@ package com.quantum.model;
 import java.sql.SQLException;
 
 import com.quantum.sql.MultiSQLServer;
-import com.quantum.sql.SQLHelper;
 
 
 class TableImpl extends EntityImpl implements Table {
-    public TableImpl(Bookmark bookmark, String schema, String name) {
-        super(bookmark, schema, name, TABLE_TYPE);
+    public TableImpl(Bookmark bookmark, String schema, String name, boolean isSynonym) {
+        super(bookmark, schema, name, TABLE_TYPE, isSynonym);
     }
     
     public Integer getSize() {
         Integer size = null;
         try {
-            size = new Integer(SQLHelper.getSize(
+            size = new Integer(MultiSQLServer.getInstance().getSize(getBookmark(), 
                 getBookmark().getConnection(), getQualifiedName(), 
                     getBookmark().getAdapter()));
         } catch (SQLException e) {
@@ -25,6 +24,6 @@ class TableImpl extends EntityImpl implements Table {
     
     public void deleteAllRows() throws SQLException, ConnectionException {
         String sql = "DELETE FROM " + getQualifiedName();
-               MultiSQLServer.getInstance().execute(getBookmark().getConnection(), sql);
+               MultiSQLServer.getInstance().execute(getBookmark(), getBookmark().getConnection(), sql);
     }
 }
\ No newline at end of file