title: Can I get a reference from a JPA bean to the EntityManager instance that manages it?
body: <p>The question basically sums it up.</p>
  
  <p>Play framework has the JPABase class that JPA beans inherit from. This class has a method called em() which returns the bean's entityManager instance. Is there something equivalent to this in plain JPA?</p>