Community
Participate
Working Groups
EclipseLink: trunk (2.3) JDK: 1.6.0_24 DB: Oracle 11.1.0.7 When set "eclipselink.weaving.changetracking=false", and all other options keep default level. There are two tests in JPA-SRG (org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite) failed with the following error: 1. testGetReferenceUsedInUpdate ---------------------------- junit.framework.AssertionFailedError: commit fetched object. at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testGetReferenceUsedInUpdate(EntityManagerJUnitTestSuite.java:8408) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514) 2. testWeaving ----------- junit.framework.AssertionFailedError: Object not weaved for ChangeTracker:Employee: null at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.internalTestWeaving(EntityManagerJUnitTestSuite.java:7864) at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testWeaving(EntityManagerJUnitTestSuite.java:7829) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514)
With this flag when weaving is not used (add the following command within "test-srg" target in build.xml during run tests: <param name="TEST_WEAVING" value="-DTEST_NO_WEAVING=true"/>), there is only the following one failure occurred: 1. testGetReferenceUsedInUpdate: ---------------------------- junit.framework.AssertionFailedError: commit fetched object. at org.eclipse.persistence.testing.tests.jpa.advanced.EntityManagerJUnitTestSuite.testGetReferenceUsedInUpdate(EntityManagerJUnitTestSuite.java:8408) at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:514)
moving targets of 2.3.0 bugs because 2.3.0 has shipped.
Duplicate bug, these errors have been addressed through bug 337365 *** This bug has been marked as a duplicate of bug 337365 ***
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink