persistence@glassfish.java.net

Fix for bugs 2643 and 2944

From: Tom Ware <tom.ware_at_oracle.com>
Date: Thu, 24 May 2007 13:25:36 -0400

Issue number: 2643, 2944
Obtained from: TopLink
Submitted by: Tom Ware
Reviewed by: Andrei Ilitchev

Changed JPA initialization to fix bug 2643 and the changes also address 2944

Tested with entity-persistence-tests, QuickLook, EJB30 Persistence dev
tests, manual JPA deployment testing

Added
EntityManagerJUnitTestSuite.testCreateAppManagedAndContainerManaged()
which tests the fix for 2643 to the maximum extent possible in java SE.