Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 328409

Summary: testNCharXMLType() failed on oracle 10.2.0.4, 11.1.0.7 and 11.2.0.1 with oci drivers
Product: z_Archived Reporter: Yiping Zhao <yiping.zhao>
Component: EclipselinkAssignee: Nobody - feel free to take it <nobody>
Status: CLOSED WONTFIX QA Contact:
Severity: normal    
Priority: P2 CC: tom.ware
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description Yiping Zhao CLA 2010-10-21 16:41:58 EDT
Andrei changed the test under org.eclipse.persistence.testing.tests.jpa.customfeatures.CustomFeaturesJUnitTestSuite.java on Oct 18th as fix of bug 328044, after that the test failed with all those oracle dbs with only oci drivers, the error messages are as following:

1. -----------11.2 oci-----------

Object: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@79d98 does not match object that was written: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@1bc6b5a. See log (on finest) for what did not match. 

junit.framework.AssertionFailedError: Object: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@79d98 does not match object that was written: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@1bc6b5a. See log (on finest) for what did not match.
at org.eclipse.persistence.testing.tests.jpa.customfeatures.CustomFeaturesJUnitTestSuite.compare(CustomFeaturesJUnitTestSuite.java:410)
at org.eclipse.persistence.testing.tests.jpa.customfeatures.CustomFeaturesJUnitTestSuite.testNCharXMLType(CustomFeaturesJUnitTestSuite.java:119)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:466)

2. ----------10.2 oci------------
Object: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@ee610b does not match object that was written: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@68a49b. See log (on finest) for what did not match. 

junit.framework.AssertionFailedError: Object: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@ee610b does not match object that was written: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@68a49b. See log (on finest) for what did not match.
at org.eclipse.persistence.testing.tests.jpa.customfeatures.CustomFeaturesJUnitTestSuite.compare(CustomFeaturesJUnitTestSuite.java:410)
at org.eclipse.persistence.testing.tests.jpa.customfeatures.CustomFeaturesJUnitTestSuite.testNCharXMLType(CustomFeaturesJUnitTestSuite.java:119)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:466)

3. ----------------11.1 oci-------------------
Object: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@192c739 does not match object that was written: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@46b626. See log (on finest) for what did not match. 

junit.framework.AssertionFailedError: Object: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@192c739 does not match object that was written: org.eclipse.persistence.testing.models.jpa.customfeatures.Employee@46b626. See log (on finest) for what did not match.
at org.eclipse.persistence.testing.tests.jpa.customfeatures.CustomFeaturesJUnitTestSuite.compare(CustomFeaturesJUnitTestSuite.java:410)
at org.eclipse.persistence.testing.tests.jpa.customfeatures.CustomFeaturesJUnitTestSuite.testNCharXMLType(CustomFeaturesJUnitTestSuite.java:119)
at org.eclipse.persistence.testing.framework.junit.JUnitTestCase.runBare(JUnitTestCase.java:466)
Comment 1 Tom Ware CLA 2010-11-11 13:55:55 EST
This may be an OCI bug.  We should triage to confirm.
Comment 2 Yiping Zhao CLA 2010-11-12 09:57:36 EST
oci bug 10231715 has already been entered as https://bug.oraclecorp.com/pls/bug/webbug_print.show?c_rptno=10231715
Comment 3 Tom Ware CLA 2010-11-15 09:42:26 EST
Closing - OCI should address this issue.  Please feel free to reopen with an explanation if you disagree.
Comment 4 Eclipse Webmaster CLA 2022-06-09 10:27:11 EDT
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink