Class EntityManagerSessionFactory
java.lang.Object
org.flowable.variable.service.impl.types.EntityManagerSessionFactory
- All Implemented Interfaces:
SessionFactory
- Author:
- Frederik Heremans
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected booleanprotected jakarta.persistence.EntityManagerFactoryprotected boolean -
Constructor Summary
ConstructorsConstructorDescriptionEntityManagerSessionFactory(Object entityManagerFactory, boolean handleTransactions, boolean closeEntityManager) -
Method Summary
Modifier and TypeMethodDescriptionjakarta.persistence.EntityManagerFactoryClass<?>openSession(CommandContext commandContext)
-
Field Details
-
entityManagerFactory
protected jakarta.persistence.EntityManagerFactory entityManagerFactory -
handleTransactions
protected boolean handleTransactions -
closeEntityManager
protected boolean closeEntityManager
-
-
Constructor Details
-
EntityManagerSessionFactory
public EntityManagerSessionFactory(Object entityManagerFactory, boolean handleTransactions, boolean closeEntityManager)
-
-
Method Details
-
getSessionType
- Specified by:
getSessionTypein interfaceSessionFactory
-
openSession
- Specified by:
openSessionin interfaceSessionFactory
-
getEntityManagerFactory
public jakarta.persistence.EntityManagerFactory getEntityManagerFactory()
-