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.