public HashMap<String, Double> getAccounts() {
    HashMap<String, Double> accounts = new HashMap<String, Double>();
    Connection conn = null;
    ResultSet rs = null;
    PreparedStatement ps = null;
    try
    {
      conn = iConomy.getiCoDatabase().getConnection();
      ps = conn.prepareStatement("SELECT * FROM " + Constants.SQLTable + "_BankRelations WHERE id = ? ORDER BY balance DESC");
      ps.setInt(1, this.id);
      rs = ps.executeQuery();

      while (rs.next())
        accounts.put(rs.getString("username"), Double.valueOf(rs.getDouble("balance")));
    }
    catch (Exception e) {
      return accounts;
    }
    finally
    {
      if (ps != null) try {
          ps.close();
        } catch (SQLException ex) {
        } if (rs != null) try {
          rs.close();
        } catch (SQLException ex) {
        } iConomy.getiCoDatabase().close(conn);
    }

    return accounts;
  }