Hans-
If I understand it right - above lookup code will ensure that there
is only
a single EM within a JTA transaction even if I call the method
several times
from several methods within the TX.
Yes, it should. You might want to print out the
System.identityHashCode(broker) to be sure, b
I'm not sure if all of you know, but we are utilizing OpenJPA within a
J2EE1.4 container for EJB3 migration purposes. In this "special" case we
are using JPA in "application managed" mode but with synchronized JTA
transactions of the container.
the current implementation holds a single EMF as a s