public interface EntityManagerService
| Modifier and Type | Method and Description |
|---|---|
javax.persistence.EntityManager |
getEntityManager(java.lang.String unitName,
HibernateProxy proxy,
javax.transaction.Transaction transaction)
Returns the EntityManager associated with the given transaction.
|
javax.persistence.EntityManager getEntityManager(java.lang.String unitName,
HibernateProxy proxy,
javax.transaction.Transaction transaction)
throws EntityManagerCreationException
unitName - the persistence unit nameproxy - the proxy requesting the EntityManagertransaction - the transactionEntityManagerCreationException - if an error creating the EntityManager is encountered