Should I inject the EntityManager with @In or use
|
| EntityManager entityManager=(EntityManager) Component.getInstance
("entityManager");
They are exactly the same.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4066440#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...