What does "doesn't work" mean? I bet it would work just fine if you would call entityManager.joinTransaction() in your method before you use the EntityManager. Of course the @Injected EM will not join the transaction automatically because the transaction is started AFTER injection, when the method is called.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4090200#4090200 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4090200 _______________________________________________ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user