GrouperLog.debug(LOG, s, MSG_FAMSHIPS_PRO);
  protected static Set findAllMemberships(GrouperSession s, Member m) {    /*     * @caller    protected Member.getAllMemberships()     * @filtered  false     * @session   true     */    GrouperSession.validate(s);    GrouperLog.debug(LOG, s, MSG_FAMSHIPS_PRO);    Set mships  = new LinkedHashSet();    try {      Session   hs    = HibernateHelper.getSession();      Query     qry   = hs.createQuery(        "from Membership as ms where ms.member_id = :mid"      );      qry.setCacheable(GrouperConfig.QRY_MSF_FAM);      qry.setCacheRegion(GrouperConfig.QCR_MSF_FAM);      qry.setString("mid", m.getId());      Iterator  iter  = qry.iterate();      while (iter.hasNext()) {        Membership ms = (Membership) iter.next();        ms.setSession(s);        mships.add(ms);      }      hs.close();    }    catch (HibernateException eH) {      GrouperLog.error(LOG, s, MSG_FAMSHIPS_PRO + ": " + eH.getMessage());    }    return mships;  } // protected static Set findAllMemberships(s, m)