title: What is the difference between FetchMode and JoinType in Hibernate?
body: <p>I have a criteria query to retrieve parent and all its children. But hibernate is firing multiple queries to fetch children. I have used default InnerJoin fetch while creating criteria, and also tried setting fetchMode.Join. But nothing works.</p>
  
  <p>So, what is the difference between FetchMode.Join and JoinType. I thought Jointype alone is sufficient to fetch data from both the tables in a single query. But is this the case?</p>
  
  <p>Secondly, when criteria query will fire multiple queries to fetch childrens.?</p>