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 ? 
        

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066306#4066306

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4066306
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to