title: HIbernate FetchMode Join
body: <p>I have a Parent class with a List of children. I would like to load the Parent by something other than the id e.g. by name...I am using <code>criteria.setFetchMode("children",FetchMode.JOIN);</code>
  and <code>criteria.add(Restrictions.eq("name", name))</code> to eagerly load all the data for the parent with a unique name. Problem is I get back thousands of results all with the same name...How do I get round this.</p>