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 org.fabric3.api.host.Fabric3Exception
unitName - the persistence unit nameproxy - the proxy requesting the EntityManagertransaction - the transactionorg.fabric3.api.host.Fabric3Exception - if an error creating the EntityManager is encountered