db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Kathey Marsden <kmarsdende...@sbcglobal.net>
Subject If I hard upgrade a database from 10.3 to 10.5 what should be the value of derby.database.collation?
Date Mon, 06 Apr 2009 22:36:02 GMT
If I  hard upgrade a database from 10.3 to 10.5, the value of 
derby.database.collation is null.  Is that correct?

It causes the following failure in the hard upgrade tests from 10.3 to 10.5
3) 
testDefaultCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest)junit.framework.AssertionFailedError:

Column value mismatch @ column '1', row 1:
    Expected: >UCS_BASIC<
    Found:    >null<
    at 
org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1095)
    at 
org.apache.derbyTesting.junit.JDBC.assertRowInResultSet(JDBC.java:1007)
    at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:895)
    at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:833)
    at org.apache.derbyTesting.junit.JDBC.assertFullResultSet(JDBC.java:791)
    at 
org.apache.derbyTesting.functionTests.tests.lang.CollationTest.checkLangBasedQuery(CollationTest.java:1266)
    at 
org.apache.derbyTesting.functionTests.tests.lang.CollationTest.testDefaultCollation(CollationTest.java:87)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105)
    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)
    at 
org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
4) 
testDefaultCollation(org.apache.derbyTesting.functionTests.tests.lang.CollationTest2)junit.framework.AssertionFailedError
    at 
org.apache.derbyTesting.functionTests.tests.lang.CollationTest2.testDefaultCollation(CollationTest2.java:1849)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:45)
    at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:37)
    at 
org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:105)
    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)

Mime
View raw message