Use a PersistenceContextProvider to obtain the EntityManager