Hello Chris,
Some tests are failing again on Derby and it appears to me that the
following check-in causes this problem.
http://fisheye5.cenqua.com/changelog/glassfish/entity-persistence-tests?cs=MAIN:chris_delahunt:20070316162753
Could you check this?
Thanks,
-Wonseok
Testsuite: oracle.toplink.essentials.testing.tests.FullRegressionTestSuite
Tests run: 619, Failures: 2, Errors: 3, Time elapsed: 199.316 sec
------------- Standard Output ---------------
[TopLink Info]: 2007.03.20 02:13:30.763--ServerSession(16409152)--TopLink,
version: Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/20/2007))
------------- ---------------- ---------------
Testcase: testCreateCanadian took 0.036 sec
FAILED
An exception was caught during create operation: [Exception [TOPLINK-4002]
(Oracle TopLink Essentials - 2.0 (Build SNAPSHOT (03/20/2007))):
oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: A truncation
error was encountered trying to shrink BLOB 'XX-RESOLVE-XX' to length 100.
Error Code: -1
Call: INSERT INTO CMP3_CANADIAN (ID, BORN, ALCOHOL_CONTENT, FLAVOR,
PROPERTIES, VERSION, CONSUMER_ID) VALUES (?, ?, ?, ?, ?, ?, ?)
bind => [22, 2007-03-20, 5.0, 0, [B_at_13c03bb, 2007-03-20 02:04:36.129,
155]
Query: InsertObjectQuery(
oracle.toplink.essentials.testing.models.cmp3.inherited.Canadian_at_1e9d469)]
junit.framework.AssertionFailedError: An exception was caught during create
operation: [Exception [TOPLINK-4002] (Oracle TopLink Essentials - 2.0 (Build
SNAPSHOT (03/20/2007))):
oracle.toplink.essentials.exceptions.DatabaseException
Internal Exception: org.apache.derby.client.am.SqlException: A truncation
error was encountered trying to shrink BLOB 'XX-RESOLVE-XX' to length 100.
Error Code: -1
Call: INSERT INTO CMP3_CANADIAN (ID, BORN, ALCOHOL_CONTENT, FLAVOR,
PROPERTIES, VERSION, CONSUMER_ID) VALUES (?, ?, ?, ?, ?, ?, ?)
bind => [22, 2007-03-20, 5.0, 0, [B_at_13c03bb, 2007-03-20 02:04:36.129,
155]
Query: InsertObjectQuery(
oracle.toplink.essentials.testing.models.cmp3.inherited.Canadian_at_1e9d469)]
at
oracle.toplink.essentials.testing.tests.cmp3.inherited.EmbeddableSuperclassJunitTest.testCreateCanadian
(EmbeddableSuperclassJunitTest.java:219)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:22)
at junit.extensions.TestSetup$1.protect(TestSetup.java:19)
at junit.extensions.TestSetup.run(TestSetup.java:23)
...