Interface EntityManagerFactoryAccess


  • public interface EntityManagerFactoryAccess
    EntityManagerFactoryAccess
    Author:
    Scott Marlow
    • Method Detail

      • entityManagerFactory

        jakarta.persistence.EntityManagerFactory entityManagerFactory​(String scopedPersistenceUnitName)
                                                               throws IllegalStateException
        returns the entity manager factory that statistics should be obtained for.
        Parameters:
        scopedPersistenceUnitName - is persistence unit name scoped to the current platform
        Returns:
        EntityManagerFactory
        Throws:
        IllegalStateException - if scopedPersistenceUnitName is not found