Class EntityManagerSessionImpl

    • Constructor Summary

      Constructors 
      Constructor Description
      EntityManagerSessionImpl​(javax.persistence.EntityManagerFactory entityManagerFactory, boolean handleTransactions, boolean closeEntityManager)  
      EntityManagerSessionImpl​(javax.persistence.EntityManagerFactory entityManagerFactory, javax.persistence.EntityManager entityManager, boolean handleTransactions, boolean closeEntityManager)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      void close()  
      void flush()  
      javax.persistence.EntityManager getEntityManager()
      Get an EntityManager instance associated with this session.
      protected boolean isTransactionActive()  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • 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)
    • Method Detail

      • flush

        public void flush()
        Specified by:
        flush in interface Session
      • isTransactionActive

        protected boolean isTransactionActive()
      • close

        public void close()
        Specified by:
        close in interface Session