JPA Methodin jakarta.persistence.EntityManagerEntityManagerFactory getEntityManagerFactory() The plain which created this entity manager. Return: the {@link EntityManagerFactory}Throws:IllegalStateException - if the entity manager has been closedSince:JPA 2.0