users@glassfish.java.net

Re: JPA: when can you used JTA?

From: <glassfish_at_javadesktop.org>
Date: Mon, 20 Aug 2007 12:16:16 PDT

Hi Jim,

Yes, you can, if the container that you are running in supports JTA transactions. In that case, you'll either create an EM after transaction has been started, or call em.joinTransaction() to notify the EM that there is a JTA transaction in progress.

Regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

http://forums.java.net/jive/thread.jspa?messageID=231675