[ 
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: 10.3.0.0
>         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.

Reply via email to