"billdurrell(a)hotmail.com" 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#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...