db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rick Hillegas (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-6266) Add ability to print a Derby execution ResultSet as xml.
Date Mon, 17 Jun 2013 19:56:19 GMT

    [ https://issues.apache.org/jira/browse/DERBY-6266?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13685907#comment-13685907
] 

Rick Hillegas commented on DERBY-6266:
--------------------------------------

Tests passed cleanly for me on derby-6266-01-aa-toXML.diff except for the following failure.
This failure looks like it was introduced by JDK 8's addition of a new SQLPermission to guard
driver de-registration. This probably indicates that I will need to upgrade my JDK 8 installation
at some point:

There was 1 failure:
1) testShutdownWithoutPermission(org.apache.derbyTesting.functionTests.tests.engine.ShutdownWithoutDeregisterPermissionTest)junit.framework.AssertionFailedError:
Expected driver to be registered
	at org.apache.derbyTesting.functionTests.tests.engine.ShutdownWithoutDeregisterPermissionTest.testShutdownWithoutPermission(ShutdownWithoutDeregisterPermissionTest.java:78)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
	at org.apache.derbyTesting.junit.BaseTestCase.runBare(BaseTestCase.java:117)
	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBareOverridable(BaseJDBCTestCase.java:439)
	at org.apache.derbyTesting.junit.BaseJDBCTestCase.runBare(BaseJDBCTestCase.java:456)
	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)

                
> Add ability to print a Derby execution ResultSet as xml.
> --------------------------------------------------------
>
>                 Key: DERBY-6266
>                 URL: https://issues.apache.org/jira/browse/DERBY-6266
>             Project: Derby
>          Issue Type: Improvement
>          Components: SQL
>    Affects Versions: 10.11.0.0
>            Reporter: Rick Hillegas
>         Attachments: derby-6266-01-aa-toXML.diff, z.sql
>
>
> Add a method for printing an org.apache.derby.iapi.sql.ResultSet as xml. The idea is
to get a quick snapshot of a plan shape without all of the overhead of PlanExporter and runtimestatistics.
This method could be used by our tests to verify plan shapes.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Mime
View raw message