Hi,
In my application, I have two persistence contexts for the same persistence
unit, one for JPA, the other for Hibernate :
/**
* Inject persistence context t4Seam
*/
@javax.persistence.PersistenceContext(unitName = t4Seam)
protected
I tried this :
protected org.hibernate.ejb.HibernateEntityManager emanager;
@javax.persistence.PersistenceContext(unitName = t4Seam)
public void setEntityManager(javax.persistence.EntityManager
entityManager) {
this.emanager = (org.hibernate.ejb.HibernateEntityManager)
Hi Olivier,
This document may help you understand how things work from a high level.
http://cwiki.apache.org/OPENEJBx30/jpa-concepts.html
The section of bullet points for With persistence-unit transaction-
type=TRANSACTION has a good description of what's going on. When
reading it, in