title: How to force eager loading with CrudRepository in spring-data?
body: <p>I have an entity containing a <code>List</code> that is thus <code>lazy</code> loaded by default:</p>
  
  <pre><code>interface MyEntityRepository extends CrudRepository&lt;MyEntity, Long&gt; {
  
  }
  
  @Entity
  public class MyEntity {
      @Id
      private Long id;
  
      @OneToMany(mappedBy = "bar") //lazy by default
      private List&lt;Bar&gt; bars;
  }
  
  @Entity
  public class Bar {
      //some more
  }
  </code></pre>
  
  <p><strong>Question</strong>: How can I force eager loading when executing <code>repository.findOne(id)</code>?</p>