title: Default fetch type for one-to-one, many-to-one and one-to-many in Hibernate
body: <p>What is the default fetch type in hibernate mappings?</p>
  
  <p>What I got to know after exploring is:</p>
  
  <ul>
  <li>for one-to-one it is <strong>eager</strong>.</li>
  <li>for one-to-many it is <strong>lazy</strong>.</li>
  </ul>
  
  <p>But after testing it in Eclipse, it was eager for all.</p>
  
  <p>Does it depend on whether I am using JPA or Hibernate?</p>