[ 
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: 10.9.1.0, 10.10.1.1, 10.8.3.0
>            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

Reply via email to