private void print() {
        try {
            while(resultset.next()){
                for(int i=1; i <= metadata.getColumnCount(); i++){
                    System.out.print(resultset.getString(i) + "; ");
                }
                System.out.println("");
            }
        } catch (SQLException ex) { System.out.println(errors.getError(502, ex)); }
    }