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-2826) re-write jdbcapi/UpdatableResultSetTest.java to close the statements used in the fetch and fetchUpd methods
Date Mon, 13 Aug 2007 09:13:43 GMT

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

Knut Anders Hatlen commented on DERBY-2826:
-------------------------------------------

DERBY-2907 made BaseJDBCTestCase close statements created with BaseJDBCTestCase.createStatement()
automatically in tearDown(). Since the problem is solved, we could probably close this issue
as "Won't Fix" now.

> re-write jdbcapi/UpdatableResultSetTest.java to close the statements used in the fetch
and fetchUpd methods
> -----------------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2826
>                 URL: https://issues.apache.org/jira/browse/DERBY-2826
>             Project: Derby
>          Issue Type: Test
>          Components: Test
>            Reporter: V.Narayanan
>            Priority: Minor
>
> The fetch and fetchUpd methods of jdbcapi/UpdatableResultSetTest.java
> use statements and do not close them at a later stage. other JUnit tests
> have occasionally failed because statements or result sets were not closed 
> and some resources were held until they were garbage collected. 
> It would be good to rewrite them so that the statements could be closed.

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


Mime
View raw message