Bug 264716 - Several new tests added in jpa.advanced.EntityManagerJUnitTestSuite failed on all application servers
Summary: Several new tests added in jpa.advanced.EntityManagerJUnitTestSuite failed on...
Status: RESOLVED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: Eclipselink (show other bugs)
Version: unspecified   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Nobody - feel free to take it CLA
QA Contact:
URL:
Whiteboard:
Keywords: test
Depends on:
Blocks:
 
Reported: 2009-02-12 11:41 EST by Kevin Yuan CLA
Modified: 2022-06-09 10:31 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Yuan CLA 2009-02-12 11:41:41 EST
The following 9 new tests added by Chris failed on all application servers:
  suite.addTest(new EntityManagerJUnitTestSuite("testClearNull"));
  suite.addTest(new EntityManagerJUnitTestSuite("testClearRemovedObject"));
  suite.addTest(new EntityManagerJUnitTestSuite("testGetProperties"));
  suite.addTest(new EntityManagerJUnitTestSuite("testClearNonEntity"));
  suite.addTest(new EntityManagerJUnitTestSuite("testClearManagedObject"));
  suite.addTest(new EntityManagerJUnitTestSuite("testClearNonManagedObject"));
  suite.addTest(new EntityManagerJUnitTestSuite("testGetLockModeType"));
  suite.addTest(new EntityManagerJUnitTestSuite("testGetEntityManagerFactory"));
  suite.addTest(new EntityManagerJUnitTestSuite("testUnWrapClass"));

The detailed log can check from nightly run results, e.g. http://stame02.us.oracle.com/eclipselink/main/2009-02-12/server-test-lrg-weblogic-10.3.html

The following is transaction info related to all these regressions:

Revision: 3376
Author: cdelahunt
Date: 9:49:35 PM, Monday, February 02, 2009
Message:
SVN Checkin: Bug 241765 - JPA 2.0 Derived identities
https://bugs.eclipse.org/bugs/show_bug.cgi?id=241765
reviewed by Gordon and Guy
Comment 1 Kevin Yuan CLA 2009-02-12 15:37:15 EST
Provided wrong info for the transaction to result in this new regression, the following is correct one:

Revision: 3362
Author: mmeswani
Date: 5:05:15 PM, Friday, January 30, 2009
Message:
Checking in on behalf of Darani. 

Implementing all of JPA 2.0 EntityManager API updates except those required by Criteria Query.  Issue 248491. 

Code reviewed by Guy and Gordon. 

Tests run: jpa-test. No new regression discovered.
----
Modified : /trunk/foundation/org.eclipse.persistence.core/src/org/eclipse/persistence/config/EntityManagerProperties.java
Modified : /trunk/jpa/eclipselink.jpa.test/src/org/eclipse/persistence/testing/tests/jpa/advanced/EntityManagerJUnitTestSuite.java
Modified : /trunk/jpa/org.eclipse.persistence.jpa/src/org/eclipse/persistence/internal/jpa/EntityManagerImpl.java
Modified : /trunk/jpa/plugins/javax.persistence/src/javax/persistence/EntityManager.java


All these new tests are only for JPA2.0, but current application servers (WLS/WAS/OC4J/JBoss/Glassfish) haven't support JPA2.0 yet.

Comment 2 Kevin Yuan CLA 2009-06-30 12:03:32 EDT
Had been rolled back at Revision: 3779.
Comment 3 Peter Krogh CLA 2009-08-26 09:47:53 EDT
Mass update to change fixed in target.
Comment 4 Peter Krogh CLA 2009-08-26 09:50:23 EDT
Mass update to change fixed in target.
Comment 5 Peter Krogh CLA 2009-08-26 09:56:07 EDT
Mass update to change fixed in target.
Comment 6 Peter Krogh CLA 2009-08-26 09:58:19 EDT
Mass update to change fixed in target.
Comment 7 Eclipse Webmaster CLA 2022-06-09 10:31:28 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink