private void loadRights() {
        try {
            String right = "";
            HashMap<String, Integer> subHM = new HashMap<String, Integer>();

            ResultSet erg = this.plugin.db.Query("SELECT * FROM `tncc_gebiete_rights`"
                    + "                                     WHERE `gebiet_id` = '" + this.id + "'"
                    + "                                     ORDER BY `gebiete_rights_key`");
            if (erg.next()) {
                do {
                    if (right.equals(erg.getString("gebiete_rights_key"))) {
                        if (!right.equals("")) {
                            this.rights.put(erg.getString("gebiete_rights_key"), subHM);
                        }
                        right = erg.getString("gebiete_rights_key");
                        subHM = new HashMap<String, Integer>();
                    }
                    subHM.put(erg.getString("gebiete_rights_group"), Integer.parseInt(erg.getString("gebiete_rights_value").toString()));
                } while (erg.next());
                this.rights.put(erg.getString("gebiete_rights_key"), subHM);
            }
            erg.close();
        } catch (SQLException ex) {
            Logger.getLogger(Gebiet.class.getName()).log(Level.SEVERE, null, ex);
        }
    }