Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-6150

Add automatic cleanup of connections opened with openDefaultConnection()

    XMLWordPrintableJSON

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 10.8.3.0, 10.9.1.0, 10.10.1.1
    • Fix Version/s: 10.8.3.3, 10.9.2.2, 10.10.2.0, 10.11.1.1
    • Component/s: Test
    • Labels:
      None
    • Issue & fix info:
      High Value Fix

      Description

      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()
      .

        Attachments

        1. derby-6150_10_8_diff.txt
          2 kB
          Kathey Marsden

          Issue Links

            Activity

              People

              • Assignee:
                kmarsden Kathey Marsden
                Reporter:
                kmarsden Kathey Marsden
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: