Community
Participate
Working Groups
CommitUnitOfWorkForcingSQLExceptionTest failed on Sybase 15(jConnect driver). An expected SQLException was not thrown. ========================= VERSION: Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080707) TEST MODEL NAME: ComplexUpdateAndUnitOfWorkTestModel MODEL DESCRIPTION: This model tests complex update features using the employee demo and ownership model. VERSION: Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080707) TEST SUITE NAME: UnitOfWorkEventTestSuite SUITE DESCRIPTION: VERSION: Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080707) TEST NAME: CommitUnitOfWorkForcingSQLExceptionTest TEST DESCRIPTION: Test force of SQLException to exercise the rollback exception handling code ##FAILURE## TEST TIME: 0 TOTAL TIME: 16 RESULT: Error Local Exception Stack: Exception [EclipseLink-0] (Eclipse Persistence Services - 1.0 (Build SNAPSHOT - 20080707)): org.eclipse.persistence.testing.framework.TestErrorException Exception Description: Fatal error occurred. Internal Exception: junit.framework.AssertionFailedError: An expected SQLException was not thrown. at org.eclipse.persistence.testing.framework.TestCase.execute(TestCase.java:162) at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247) at org.eclipse.persistence.testing.framework.TestSuite.execute(TestSuite.java:75) at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247) at org.eclipse.persistence.testing.framework.TestModel.execute(TestModel.java:208) at org.eclipse.persistence.testing.framework.TestExecutor.execute(TestExecutor.java:247) at org.eclipse.persistence.testing.framework.TestExecutor.runTest(TestExecutor.java:668) at org.eclipse.persistence.testing.framework.ui.SynchronizedTestExecutor.run(SynchronizedTestExecutor.java:61) Caused by: junit.framework.AssertionFailedError: An expected SQLException was not thrown. at junit.framework.Assert.fail(Assert.java:47) at org.eclipse.persistence.testing.tests.unitofwork.CommitUnitOfWorkForcingSQLExceptionTest.test(CommitUnitOfWorkForcingSQLExceptionTest.java:74) at org.eclipse.persistence.testing.framework.TestCase.executeTest(TestCase.java:541) at org.eclipse.persistence.testing.framework.TestCase.execute(TestCase.java:152) ... 7 more
This test should be updated to throw a warning on Sybase
This bug fix did not make the cut off for 2.0.0. We are deferring the bugs to Future where we can properly sort them all together based on community votes and severity. We will then assign them accordingly to future patch sets and releases.
Changing the priority of the bugs that have been recently triaged to future. Targetting them to P2 will differentiate them from the P3s that have been triaged into future earlier.
*** This bug has been marked as a duplicate of bug 261660 ***
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink