org.camunda.bpm.engine.impl.variable.serializer.jpa
Class EntityManagerSessionImpl
java.lang.Object
org.camunda.bpm.engine.impl.variable.serializer.jpa.EntityManagerSessionImpl
- All Implemented Interfaces:
- Session, EntityManagerSession
public class EntityManagerSessionImpl
- extends Object
- implements EntityManagerSession
- Author:
- Frederik Heremans, Joram Barrez
|
Constructor Summary |
EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
boolean handleTransactions,
boolean closeEntityManager)
|
EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
javax.persistence.EntityManager entityManager,
boolean handleTransactions,
boolean closeEntityManager)
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
EntityManagerSessionImpl
public EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
javax.persistence.EntityManager entityManager,
boolean handleTransactions,
boolean closeEntityManager)
EntityManagerSessionImpl
public EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
boolean handleTransactions,
boolean closeEntityManager)
flush
public void flush()
- Specified by:
flush in interface Session
isTransactionActive
protected boolean isTransactionActive()
close
public void close()
- Specified by:
close in interface Session
getEntityManager
public javax.persistence.EntityManager getEntityManager()
- Description copied from interface:
EntityManagerSession
- Get an
EntityManager instance associated with this session.
- Specified by:
getEntityManager in interface EntityManagerSession
Copyright © 2015 camunda services GmbH. All rights reserved.