See
http://dbtg.thresher.com/derby/test/tinderbox_10.4_16/jvm1.6/testing/Limited/testSummary-660410.html
http://dbtg.thresher.com/derby/test/tinderbox_10.4_16/jvm1.6/testing/testlog/SunOS-5.10_i86pc-i386/660410-org.apache.derbyTesting.functionTests.suites.All_diff.txt
Related to
DERBY-3690 / r660408 ?
There were 6 errors:
1) testGlobalLocalInterleaf(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)javax.transaction.xa.XAException
at org.apache.derby.jdbc.EmbedXAResource.start(Unknown Source)
at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testGlobalLocalInterleaf(J2EEDataSourceTest.java:1239)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
2) testSetIsolationWithStatement(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)javax.transaction.xa.XAException
at org.apache.derby.jdbc.EmbedXAResource.start(Unknown Source)
at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testSetIsolationWithStatement(J2EEDataSourceTest.java:1364)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
3) testAllDataSources(org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest)javax.transaction.xa.XAException
at org.apache.derby.jdbc.EmbedXAResource.start(Unknown Source)
at org.apache.derbyTesting.functionTests.tests.jdbcapi.J2EEDataSourceTest.testAllDataSources(J2EEDataSourceTest.java:1008)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:101)
at junit.extensions.TestDecorator.basicRun(TestDecorator.java:24)
at junit.extensions.TestSetup$1.protect(TestSetup.java:21)
at junit.extensions.TestSetup.run(TestSetup.java:25)
at org.apache.derbyTesting.junit.BaseTestSetup.run(BaseTestSetup.java:57)
++
DERBY-3690. I'm working on getting a small patch forDERBY-3327committed in the 10.4 branch, which will fix the errors.The changed behavior is that the old code initiated a transaction when resetting the schema (because it queried the data dictionary) with setDefaultSchema(null), whereas now the initial default schema descriptor is cached and calling setDefaultSchema(null) does not initiate a transaction.