db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kristian Waagan (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-5759) Add IndexStatsUtil.release(boolean closeConnection)
Date Fri, 11 May 2012 10:21:50 GMT

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

Kristian Waagan updated DERBY-5759:
-----------------------------------

    Attachment: derby-5759-1a-release_with_arg.diff

Attaching patch 1a, which adds a release(boolean) method.

Patch ready for review.
                
> 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