title: Hibernate : failed to lazily initialize a collection
body: <p>I have two entities : User and Module wich are linked using the many-to-many . </p>
  
  <p>in my User entity I have a Module list member : </p>
  
  <p><img src="https://i.stack.imgur.com/Y4W6W.png" alt="enter image description here"></p>
  
  <p>I insert a new user successfully, but when I want to retrieve the Users I get the Users informations but I don't get the Modules of a user . and I get this error message : </p>
  
  <p>.hibernate.LazyInitializationException: failed to lazily initialize a collection of role: ma.propar.FireApp.Entites.Utilisateur.modules, could not initialize proxy - no Session</p>