Re: AW: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Marc Prud'hommeaux
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

AW: AW: Forgot subject: Strange Could not locate metadata for the classError?

2007-03-23 Thread Hans J. Prueller
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