Class EntityManagerSessionImpl

java.lang.Object
org.flowable.variable.service.impl.types.EntityManagerSessionImpl
All Implemented Interfaces:
Session, EntityManagerSession

public class EntityManagerSessionImpl extends Object implements EntityManagerSession
Author:
Frederik Heremans, Joram Barrez
  • Constructor Details

    • EntityManagerSessionImpl

      public EntityManagerSessionImpl(jakarta.persistence.EntityManagerFactory entityManagerFactory, jakarta.persistence.EntityManager entityManager, boolean handleTransactions, boolean closeEntityManager)
    • EntityManagerSessionImpl

      public EntityManagerSessionImpl(jakarta.persistence.EntityManagerFactory entityManagerFactory, boolean handleTransactions, boolean closeEntityManager)
  • Method Details

    • 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 jakarta.persistence.EntityManager getEntityManager()
      Description copied from interface: EntityManagerSession
      Get an EntityManager instance associated with this session.
      Specified by:
      getEntityManager in interface EntityManagerSession