public static SQResultSet execute(String sql, Connection connection) throws ClassNotFoundException {
        java.sql.Connection connect = null;
        Statement statement = null;

        try {
            connect = connect(connection);
            statement = connect.createStatement();

            ResultSet results = statement.executeQuery(sql);
            return SQResultSetCreator.createResultSet(results);
        } catch (SQLException e) {
            e.printStackTrace();
            return null;
        } finally {
            try {
                if (statement != null) statement.close();
                if (connect != null) connect.close();
            } catch (SQLException e) {
                e.printStackTrace();
            }
        }
    }