title: using fetching mode in hibernate
body: <p>Let's say we have one to many relationship between Customer and Phone..</p>
  
  <pre><code>class Customer{
  
  @OneToMany(cascade = {CascadeType.ALL},mappedBy = "customer", fetch = FetchType.LAZY)
  @Fetch( FetchMode.SELECT)
  private List&lt;Phone&gt; phoneList;
  
  }
  </code></pre>
  
  <p>In the above code, what is the difference between 
  fetch = FetchType.LAZY and  FetchMode.SELECT.</p>
  
  <p>I read it that they both are same i.e. they both lazily loaded the underlying collection.</p>
  
  <p>Can somebody explain me which one to use when?</p>