Class EntityManagerSessionFactory
- java.lang.Object
-
- org.camunda.bpm.engine.impl.variable.serializer.jpa.EntityManagerSessionFactory
-
- All Implemented Interfaces:
SessionFactory
public class EntityManagerSessionFactory extends java.lang.Object implements SessionFactory
- Author:
- Frederik Heremans
-
-
Field Summary
Fields Modifier and Type Field Description protected boolean
closeEntityManager
protected javax.persistence.EntityManagerFactory
entityManagerFactory
protected boolean
handleTransactions
-
Constructor Summary
Constructors Constructor Description EntityManagerSessionFactory(java.lang.Object entityManagerFactory, boolean handleTransactions, boolean closeEntityManager)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description javax.persistence.EntityManagerFactory
getEntityManagerFactory()
java.lang.Class<?>
getSessionType()
Session
openSession()
-
-
-
Method Detail
-
getSessionType
public java.lang.Class<?> getSessionType()
- Specified by:
getSessionType
in interfaceSessionFactory
-
openSession
public Session openSession()
- Specified by:
openSession
in interfaceSessionFactory
-
getEntityManagerFactory
public javax.persistence.EntityManagerFactory getEntityManagerFactory()
-
-