Community
Participate
Working Groups
tests.unitofwork.CommitUnitOfWorkForcingSQLExceptionTest failed on Sybase Exception: ========== Exception Description: Fatal error occurred. Internal Exception: junit.framework.AssertionFailedError: An expected SQLException was not thrown. Local Exception Stack: Exception [EclipseLink-0] (Eclipse Persistence Services - 1.1.0.20090115-SNAPSHOT): 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:164) at org.eclipse.persistence.testing.framework.TestCase.runBare(TestCase.java:263) 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.TestCollection.run(TestCollection.java:313) 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.TestCollection.run(TestCollection.java:313) 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.TestCollection.run(TestCollection.java:313) Caused by: junit.framework.AssertionFailedError: An expected SQLException was not thrown. at org.eclipse.persistence.testing.tests.unitofwork.CommitUnitOfWorkForcingSQLExceptionTest.test(CommitUnitOfWorkForcingSQLExceptionTest.java:74) at org.eclipse.persistence.testing.framework.TestCase.executeTest(TestCase.java:543) at org.eclipse.persistence.testing.framework.TestCase.execute(TestCase.java:154)
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.
*** Bug 240012 has been marked as a duplicate of this bug. ***
2.1 Bug scrubbing, deferring to 2.1.1.
Created attachment 176822 [details] proposed test change Test is not valid on Sybase because it silently truncates strings to match the column length and the test relies on databases throwing an exception if the string is too long. The patch changes the test to throw a warning if the Plaform is Sybase
fix checked into main.
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink