Set types = GroupTypeFinder.findAll();
GroupTypeFinder.findAll();
  private void _emptyTables()     throws  HibernateException  {    Session     hs  = HibernateHelper.getSession();    Transaction tx  = hs.beginTransaction();    hs.delete("from Membership");    hs.delete("from GrouperSession");    hs.delete("from Composite");    hs.delete("from Group");    List l = hs.find("from Stem as ns where ns.stem_name like '" + Stem.ROOT_INT + "'");    if (l.size() == 1) {      Stem    root  = (Stem) l.get(0);      String  uuid  = root.getUuid();      root.setModifier_id(  null);      root.setModify_source(null);      root.setModify_time(  0   );      hs.saveOrUpdate(root);      hs.delete("from Owner as o where o.uuid != '" + uuid + "'");    }    else {      hs.delete("from Owner");    }    hs.delete("from Member as m where m.subject_id != 'GrouperSystem'");    hs.delete(      "from GroupType as t where (  "      + "     t.name != 'base'      "      + "and  t.name != 'naming'    "      + ")"    );    hs.delete("from HibernateSubject");    tx.commit();    hs.close();    Set types = GroupTypeFinder.findAll(); // So that we always refresh the cache    CacheMgr.resetAllCaches();  } // private void _emptyTables()