import java.sql.SQLException;
-import com.quantum.adapters.AdapterFactory;
import com.quantum.sql.MultiSQLServer;
import com.quantum.sql.SQLHelper;
Integer size = null;
try {
size = new Integer(SQLHelper.getSize(
- getBookmark().getConnection(), getCondQualifiedName(),
- AdapterFactory.getInstance().getAdapter(getBookmark().getType())));
+ getBookmark().getConnection(), getQualifiedName(),
+ getBookmark().getAdapter()));
} catch (SQLException e) {
} catch (ConnectionException e) {
}
}
public void deleteAllRows() throws SQLException, ConnectionException {
- String sql = "DELETE FROM " + getCondQualifiedName();
+ String sql = "DELETE FROM " + getQualifiedName();
MultiSQLServer.getInstance().execute(getBookmark().getConnection(), sql);
}
}
\ No newline at end of file