db-derby-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Kathey Marsden (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DERBY-6150) Add automatic cleanup of connections opened with openDefaultConnection()
Date Thu, 04 Apr 2013 21:50:19 GMT

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

Kathey Marsden updated DERBY-6150:

    Attachment: derby-6150_10_8_diff.txt

Attached is a patch for this issue on 10.8. I put it there first as that is where I was experiencing
a problem with connections not closing. Will check into 10.8 and merge back to trunk and 10.9

> Add automatic cleanup of connections opened with openDefaultConnection()
> ------------------------------------------------------------------------
>                 Key: DERBY-6150
>                 URL: https://issues.apache.org/jira/browse/DERBY-6150
>             Project: Derby
>          Issue Type: Improvement
>          Components: Test
>    Affects Versions:,,
>            Reporter: Kathey Marsden
>         Attachments: derby-6150_10_8_diff.txt
> In JDBCBaseTestCase, the default connection is automatically rolled back and closed but
connections opened with openDefaultConnection() can stay open and hold locks and affect other
tests if the database can not be cleaned because locks are held. It would be good to clean
up all the connections in tearDown()
> .

This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

View raw message