docs: protected EntityManager getTransactionalEntityManager(EntityManagerFactory emf)
              throws IllegalStateException {
          Assert.state(emf != null, "No EntityManagerFactory specified");
          return EntityManagerFactoryUtils.getTransactionalEntityManager(emf);
      }