public ResultSet read(String query){
        try {
            ResultSet result = this.statement.executeQuery(query);
            result.last();
            int rows = result.getRow();
            if(rows < 1){
                return null;
            }
            result.beforeFirst();
            return result;
        } catch (SQLException ex) {
            Logger.getLogger(DatabaseConnection.class.getName()).log(Level.SEVERE, ""
                    + "SQL-String: "+query, ex);
            return null;
        }
    }