Did this change in the latest PFD?
I ask because the EJB3 trail I have has the entity-manager tag inside the
persistence.xml file, not a persistence-unit tag.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925820#3925820
Reply to the post :
yes.
View the original post :
http://www.jboss.com/index.html?module=bbop=viewtopicp=3925824#3925824
Reply to the post :
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3925824
---
This SF.Net email is sponsored by xPML, a
Hi Michael,
just specify a second one in your persistence.xml.
They are enclosed by the persistence-unit tags.
So in your SessionBean just do like that
| @PersistenceContext(unitName=myFistUnit)
| EntityManager fistEm;
|
| @PersistenceContext(unitName=mySecondUnit)
| EntityManager