Package io.quarkus.hibernate.orm.runtime
Class JPAConfig
- java.lang.Object
-
- io.quarkus.hibernate.orm.runtime.JPAConfig
-
public class JPAConfig extends Object
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
JPAConfig.Destroyer
(package private) static class
JPAConfig.LazyPersistenceUnit
-
Constructor Summary
Constructors Constructor Description JPAConfig(HibernateOrmRuntimeConfig hibernateOrmRuntimeConfig)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Set<String>
getDeactivatedPersistenceUnitNames()
Returns the name of persistence units that were deactivated through configuration properties.jakarta.persistence.EntityManagerFactory
getEntityManagerFactory(String unitName)
Set<String>
getPersistenceUnits()
Returns the registered, active persistence units.(package private) void
startAll()
-
-
-
Constructor Detail
-
JPAConfig
@Inject public JPAConfig(HibernateOrmRuntimeConfig hibernateOrmRuntimeConfig)
-
-
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.
-
-