Class JPAConfig


  • public class JPAConfig
    extends Object
    • Method Detail

      • startAll

        void startAll()
      • getEntityManagerFactory

        public jakarta.persistence.EntityManagerFactory getEntityManagerFactory​(String unitName)
      • getPersistenceUnits

        public Set<String> getPersistenceUnits()
        Returns the registered, active persistence units.
        Returns:
        Set containing the names of all registered, actives persistence units.
      • getDeactivatedPersistenceUnitNames

        public Set<String> getDeactivatedPersistenceUnitNames()
        Returns the name of persistence units that were deactivated through configuration properties.
        Returns:
        Set containing the names of all persistence units that were deactivated through configuration properties.