Interface EntityManagerFactoryAccess


public interface EntityManagerFactoryAccess
EntityManagerFactoryAccess
Author:
Scott Marlow
  • Method Summary

    Modifier and Type
    Method
    Description
    jakarta.persistence.EntityManagerFactory
    entityManagerFactory(String scopedPersistenceUnitName)
    returns the entity manager factory that statistics should be obtained for.
  • Method Details

    • 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