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