code: @Override
      public EntityManager createEntityManager()
      {
          if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
              Tr.debug(tc, "createEntityManager : " + this);
  
          EntityManager em = getEntityManager(false, false);
          JPAPooledEntityManager pem = new JPAPooledEntityManager(this, em, ivAbstractJpaComponent, true);
          return pem;
      }
docs: Gets entity manager from pool and wraps it in an invocation type aware,
  enlistment capable em.