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

Driver Manager Connection Pool should close leaked connections upon shutting down

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 5.2.2
    • Component/s: None
    • Labels:
      None

      Description

      DriverManagerConnectionProviderImpl uses PooledConnections behind the scenes to pool connections, but it only tracks the available connections and not all connections that have been created from the start.

      We need to track all connections so that, when we shut down the pool, even the connections that are currently being in use are properly closed as well. Currently, only the unllocated connections are being closed.

        Attachments

          Activity

            People

            • Assignee:
              mih_vlad Vlad Mihalcea
              Reporter:
              mih_vlad Vlad Mihalcea
              Participants:
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: