"[EMAIL PROTECTED]" wrote : I have the same issue . Should I inject the
EntityManager with @In or use
|
| EntityManager entityManager=(EntityManager) Component.getInstance
("entityManager");
|
| Which also works for me. What is the side effect of using both approaches
?
|
The EM you receive from @PersistenceContext is container-managed whereas the EM
from Component.getInstance() is Seam-managed scoped to the conversation
context.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066315#4066315
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066315
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user