protected EntityManager getTransactionalEntityManager ( EntityManagerFactory emf ) throws IllegalStateException { Assert . state ( emf != null , "No EntityManagerFactory specified" ) ; return EntityManagerFactoryUtils . getTransactionalEntityManager ( emf ) ; }
Obtain the transactional EntityManager for this accessor s EntityManagerFactory if any .