Uploaded image for project: 'Hibernate ORM'
  1. HHH-10907

Fix connection leak problem in hibernate-core tests

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 5.2.0
    • Fix Version/s: 5.2.2, 5.1.8
    • Component/s: hibernate-core
    • Labels:
      None
    • Bug Testcase Reminder (view):

      Bug reports should generally be accompanied by a test case!

    • Last commented by a user?:
      true

      Description

      When running tests on PostgreSQL with a max_connections value of 10, the tests are failing because connections are still in use. We need to add proper resource handling so that even if we get an exception, the transaction is rolled back and the connections are released.

        Attachments

          Issue links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: