db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Knut Anders Hatlen (JIRA)" <j...@apache.org>
Subject [jira] Commented: (DERBY-2768) Do cleanup (closing stmts., conns.) on failures in jdbcapi/BlobClob4BlobTest.java
Date Wed, 06 Jun 2007 13:52:26 GMT

    [ https://issues.apache.org/jira/browse/DERBY-2768?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12501937

Knut Anders Hatlen commented on DERBY-2768:

I agree that this is a useful change, but I'm not sure we want to put the statements into
a finally block. If they fail, we have no way of telling what the real error is, since exceptions
in the finally block hide exceptions in the try block.

> Do cleanup (closing stmts., conns.) on failures in jdbcapi/BlobClob4BlobTest.java
> ---------------------------------------------------------------------------------
>                 Key: DERBY-2768
>                 URL: https://issues.apache.org/jira/browse/DERBY-2768
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions:
>         Environment: NA
>            Reporter: Ole Solberg
>            Assignee: Ole Solberg
>            Priority: Trivial
>         Attachments: 2768-1.diff, 2768-1.stat
> jdbcapi/BlobClob4BlobTest.java should cleanup when detecting failures ['fail("FAIL -
> When failures occur, as when doing compatibility testing for Blob/Clob locator support,
failures will occur. 
> Missing cleanup makes following tests to fail.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message