import java.sql.Connection;
import java.sql.SQLException;
-import java.util.Vector;
import com.quantum.adapters.DatabaseAdapter;
import com.quantum.view.LogProxy;
public class SQLHelper {
- public static Vector getSchemas(Connection connection) {
- return MultiSQLServer.getInstance().getSchemas(connection);
- }
public static int getSize(Connection connection, String tableName, DatabaseAdapter adapter) throws SQLException {
SQLResults results = MultiSQLServer.getInstance().execute(
connection, adapter.getCountQuery(tableName));