title: Hibernate is not throwing LazyInitializationException in Spring Boot Project
body: <p>I work on a Spring Boot project with Hibernate 5.0. Unfortunately Hibernate reads the lazy initialized objects without throwing <code>LazyInitializationException</code> even after the transaction is committed. How can I enable the <code>LazyInitializationException</code> outside of transactions?</p>
  
  <p>(The current behavior hides bugs in the code.)</p>