You would set up multiple entity manager components in components.xml like
|
|
|
@In EntityManager entityManager1;
| @In EntityManager entityManager2;
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4114416#4114416
Reply to the post :
http://www.
Does SMPC work with multiple datasources in the same app? If yes how would you
configure the @In injection attribute similar to the @PersistenceContext JPA
attribute which you can specify a persistenceUnit name? In the API for the
Seam @In annotation there is no element similar to unitName...
No, both would return an SMPC (getPersistenceContext can also return a Seam
managed hibernate session)
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069389#4069389
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069389
"[EMAIL PROTECTED]" wrote : You need to use a SMPC
Aah, indeed, thanks. Would I also be getting the SMPC by using the
getEntityManager() in EntityHome and the standard PC by using the
getPersistenceContext() in PersistenceController?
View the original post :
http://www.jboss.com/index.html?mod
You need to use a SMPC
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4069204#4069204
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4069204
___
jboss-user mailing list
jboss-us