Package io.quarkus.hibernate.orm.runtime
Class JPAConfig
java.lang.Object
io.quarkus.hibernate.orm.runtime.JPAConfig
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescription(package private) static final class -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the name of persistence units that were deactivated through configuration properties.jakarta.persistence.EntityManagerFactorygetEntityManagerFactory(String unitName, boolean reactive) Returns the registered, active persistence units.booleanReturns boolean value for enabling request scoped sessions(package private) voidshutdown()(package private) voidstartAll()
-
Field Details
-
IS_REACTIVE_KEY
- See Also:
-
-
Constructor Details
-
JPAConfig
-
-
Method Details
-
startAll
void startAll() -
getEntityManagerFactories
-
getEntityManagerFactory
public jakarta.persistence.EntityManagerFactory getEntityManagerFactory(String unitName, boolean reactive) -
getPersistenceUnits
Returns the registered, active persistence units.- Returns:
- Set containing the names of all registered, actives persistence units.
-
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.
-
getRequestScopedSessionEnabled
public boolean getRequestScopedSessionEnabled()Returns boolean value for enabling request scoped sessions -
shutdown
void shutdown()
-