public class EntityManagerSessionImpl extends Object implements EntityManagerSession
| Constructor and Description | 
|---|
| EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
                        boolean handleTransactions,
                        boolean closeEntityManager) | 
| EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
                        javax.persistence.EntityManager entityManager,
                        boolean handleTransactions,
                        boolean closeEntityManager) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| void | flush() | 
| javax.persistence.EntityManager | getEntityManager()Get an  EntityManagerinstance associated with this session. | 
| protected boolean | isTransactionActive() | 
public EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
                        javax.persistence.EntityManager entityManager,
                        boolean handleTransactions,
                        boolean closeEntityManager)
public EntityManagerSessionImpl(javax.persistence.EntityManagerFactory entityManagerFactory,
                        boolean handleTransactions,
                        boolean closeEntityManager)
protected boolean isTransactionActive()
public javax.persistence.EntityManager getEntityManager()
EntityManagerSessionEntityManager instance associated with this session.getEntityManager in interface EntityManagerSessionCopyright © 2018. All rights reserved.