title: Getting LazyInitializationException although using @Transactional(propagation=Propagation.REQUIRES_NEW)
body: <p>I use <strong>jHipster</strong> with <strong>Spring Data JPA</strong> and have the following method:</p>
  
  <pre><code>@Transactional(propagation=Propagation.REQUIRES_NEW)
  public void doSomeWork(EntityA entityA) {
    // some code
    List&lt;EntityB&gt; entityBList = new ArrayList&lt;EntityB&gt;();
    entityBList.add(new EntityB());
    entityA.addAllEntityB(entityBList);
  }
  </code></pre>
  
  <p>At the last line I get an <code>org.hibernate.LazyInitializationException</code> excption which I don't understand. </p>
  
  <ul>
  <li>Why is it throwing this excption although the method is run in its own transaction? </li>
  <li>Should it not just lazy load the list as the session is still open?</li>
  </ul>