Hibernate.initialize( g.getGroup_types()      ); Iterator iter = g.getGroup_types().iterator(); while (iter.hasNext()) { GroupType type = (GroupType) iter.next(); GroupType.initializeGroupType(type); }
  protected static void initializeGroup(Group g)     throws  HibernateException  {    Session hs = HibernateHelper.getSession();    hs.load(g, g.getId());    Hibernate.initialize( g.getGroup_attributes() );    Hibernate.initialize( g.getGroup_types()      );    Iterator iter = g.getGroup_types().iterator();    while (iter.hasNext()) {      GroupType type = (GroupType) iter.next();      GroupType.initializeGroupType(type);    }    hs.close();  } // protected void initializeGroup()