Well not knowing your components.xml, I'd hazard a guess that maybe you should check
that your entityManager is null? Put in a log line checking something like
'em==null' (or run it through a debugger).
And why not use @In
| EntityManager entityManager;rather than PersistenceContext? You define your
entityManager in your <persistence:managed-persistence-context> in your
components.xml.
Cheers,
Damian.
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112966#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...