You are viewing a plain text version of this content. The canonical link for it is here.
Posted to derby-dev@db.apache.org by "Daniel John Debrunner (JIRA)" <ji...@apache.org> on 2007/07/06 21:36:04 UTC

[jira] Updated: (DERBY-2907) Automatically close statement objects returned by utility methods of BaseJDBCTestCase at teardown.

     [ https://issues.apache.org/jira/browse/DERBY-2907?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Daniel John Debrunner updated DERBY-2907:
-----------------------------------------

    Affects Version/s: 10.4.0.0
                       10.3.1.1

Fixed in trunk with revision 553997 - planning to merge it up to 10.3

> Automatically close statement objects returned by utility methods of BaseJDBCTestCase at teardown.
> --------------------------------------------------------------------------------------------------
>
>                 Key: DERBY-2907
>                 URL: https://issues.apache.org/jira/browse/DERBY-2907
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions: 10.3.1.1, 10.4.0.0
>            Reporter: Daniel John Debrunner
>            Assignee: Daniel John Debrunner
>            Priority: Minor
>
> Since it's easy to forget to close JDBC statement objects in the test, the base class should automatically close JDBC statement objects returned by its utility methods such as createStatement() and prepareCall.

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