users@glassfish.java.net

Re: [newbie] Is it possible to use two Entity Managers in the same EJB?

From: <glassfish_at_javadesktop.org>
Date: Sun, 15 Jul 2007 00:20:51 PDT

You need to be using the XA version of the data sources. The container wants to combine the access of the two EMs in to a single transaction, and for that it requires you use XA Datasources in your connection pools.
[Message sent by forum member 'whartung' (whartung)]

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