title: Collection object of an entity fetches value after session close
body: <p>I have an entity having OneToMany relationship. After fetching the parent entity by below way:</p>
  
  <p>User has many educational degrees.</p>
  
  <p>@Transactional(propagation = Propagation.REQUIRED)
  -----------at interface level--------------</p>
  
  <p>public User getUser(int userid){
  ...
  return user;
  }</p>
  
  <p>Now when trying to get the child collection(educational degree) , due to session is closed failed to lazily initialize a collection of role exception is occuring.</p>
  
  <p>Please explain how collection object get loaded.</p>