db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dag H. Wanvik (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (DERBY-5759) Add IndexStatsUtil.release(boolean closeConnection)
Date Fri, 11 May 2012 15:52:49 GMT

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

Dag H. Wanvik commented on DERBY-5759:
--------------------------------------

Looks straight forward enough. +1

                
> Add IndexStatsUtil.release(boolean closeConnection)
> ---------------------------------------------------
>
>                 Key: DERBY-5759
>                 URL: https://issues.apache.org/jira/browse/DERBY-5759
>             Project: Derby
>          Issue Type: Task
>          Components: Test
>    Affects Versions: 10.9.0.0
>            Reporter: Kristian Waagan
>            Assignee: Kristian Waagan
>            Priority: Minor
>         Attachments: derby-5759-1a-release_with_arg.diff
>
>
> IndexStatsUtil already has a method called release that takes no arguments. It closes
the connection, which can be a problem in cases where the util shares the connection with
someone else.
> I propose to add the method release(boolean closeConnection).
> Note that the util still requires the connection to be auto-commit mode.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Mime
View raw message