db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Daniel John Debrunner (JIRA)" <j...@apache.org>
Subject [jira] Issue Comment Edited: (DERBY-2907) Automatically close statement objects returned by utility methods of BaseJDBCTestCase at teardown.
Date Wed, 09 Jan 2008 19:16:34 GMT

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

djd edited comment on DERBY-2907 at 1/9/08 11:16 AM:
-----------------------------------------------------------------------

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

      was (Author: djd):
    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.4, 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.


Mime
View raw message