[jboss-user] [Beginner's Corner] - Re: java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()

Wolf-Dieter Fink do-not-reply at jboss.com
Sat Aug 25 12:39:45 EDT 2012


Wolf-Dieter Fink [https://community.jboss.org/people/wdfink] created the discussion

"Re: java.lang.IllegalStateException: A JTA EntityManager cannot use getTransaction()"

To view the discussion, visit: https://community.jboss.org/message/755956#755956

--------------------------------------------------------------
I suppose the problem is that your EJB transaction is managed by the container (CMT).
If you want to control the transaction you should set the TransactionManagement to BEAN
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/755956#755956]

Start a new discussion in Beginner's Corner at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2075]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20120825/e11fed7f/attachment.html 


More information about the jboss-user mailing list