1 package com.quantum.model;
3 import java.sql.SQLException;
5 import com.quantum.sql.MultiSQLServer;
8 class TableImpl extends EntityImpl implements Table {
9 public TableImpl(Bookmark bookmark, String schema, String name) {
10 super(bookmark, schema, name, TABLE_TYPE);
13 public Integer getSize() {
16 size = new Integer(MultiSQLServer.getInstance().getSize(getBookmark(),
17 getBookmark().getConnection(), getQualifiedName(),
18 getBookmark().getAdapter()));
19 } catch (SQLException e) {
20 } catch (ConnectionException e) {
25 public void deleteAllRows() throws SQLException, ConnectionException {
26 String sql = "DELETE FROM " + getQualifiedName();
27 MultiSQLServer.getInstance().execute(getBookmark(), getBookmark().getConnection(), sql);