[jboss-user] [jBPM] - Re: Issue : JTA EntityManager cannot use getTransaction()

Ibrahim Abu Ghosh do-not-reply at jboss.com
Thu Feb 2 05:40:50 EST 2012


Ibrahim Abu Ghosh [https://community.jboss.org/people/iabughosh] created the discussion

"Re: Issue : JTA EntityManager cannot use getTransaction()"

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

--------------------------------------------------------------
it is an expected exception take a look at  http://docs.oracle.com/javaee/5/api/javax/persistence/EntityManager.html#getTransaction() EntityManager API getTransaction() method, since you are using JTA, you can use EJB 3 transaction management.

regards.
--------------------------------------------------------------

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

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

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


More information about the jboss-user mailing list