title: Get EntityManager from Hibernate session
body: <p>I have built my application on Hibernate, but now I need to get EntityManager for one third-party module.</p>
  
  <p>Could you please give me some hints how to get JPA objects from Hibernate?</p>
  
  <p>(in my case I have SessionFactory and need EntityManager)</p>