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
EntityManager instance 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 © 2021. All rights reserved.