You have declared SMPC as "entityManager", then you should use as follows:
| @In
| EntityManager entityManager;
|
or (if you prefer):
| @In("#{entityManager}")
| EntityManager em;
|
or:
| @In(value="#{entityManager}")
| EntityManager em;
|
HTH.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049430#4049430
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049430
_______________________________________________
jboss-user mailing list
[email protected]
https://lists.jboss.org/mailman/listinfo/jboss-user