[jboss-user] [JBoss Seam] - Re: Warning: do not use Seam managed pesistent context for B

christian.bauer@jboss.com do-not-reply at jboss.com
Mon Oct 1 08:31:23 EDT 2007


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



More information about the jboss-user mailing list