Hi Jim,

Wanted to give you an update. I've been looking into this one and so far haven't been able to find the source of the issue. In addition to your sample I've been adding more tests in this area -- the java ee tck has plenty but it's nice to have some of our own.

Seems the basic functionality of extended persistence contexts is working:

http://svn.apache.org/repos/asf/openejb/trunk/openejb3/container/openejb-core/src/test/java/org/apache/openejb/core/stateful/EntityManagerPropogationTest.java

I'm going to keep working with your sample, but if you wanted to help expand that test case that could be very useful. You did some good work in the sample app.

-David


On Dec 10, 2008, at 9:33 AM, David Blevins wrote:


On Nov 21, 2008, at 3:04 PM, JimOR wrote:

David,

Looks like OpenEJB3.1 is the culprit. EJB3.0 with JPA 1.0.1, 1.1, 1.2 and 1.3-SNAPSHOT work as expected, but 3.1 with any of the JPA jars fails.

This sample http://www.nabble.com/file/p20631026/sample.zip sample.zip should give you a head start recreating the scenario. I had to remove the
OpenJPA jars to fit within the file upload size limit, drop them into
sample/lib and you should be good to go.

The sample/test folder contains the junit xml results of the test case under
the various classpaths.

FYI, filled a JIRA for this:

https://issues.apache.org/jira/browse/OPENEJB-970
(notifications:  
https://issues.apache.org/jira/secure/ViewIssue.jspa?id=12410384&watch=true)

Thanks for putting that sample together!

-David



Reply via email to