Uploaded image for project: 'Commons DBCP'
  1. Commons DBCP
  2. DBCP-217

Closing of underlaying connection instead of the PoolGuardConnectionWrapper

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 1.2.2
    • 1.3
    • None

    Description

      Is state:
      If I obtain the Connection of a Statement (stmt.getConnection()), created with dbcp,
      the returned Object is the underlaying pooled connection.
      Closing this connection multiple times may close the connection of another process.

      It should be:
      The Wrapper over the connection PoolGuardConnectionWrapper should be returned instead.

      Attachments

        1. connectionCloseFix.patch
          6 kB
          Sebastian Mancke

        Activity

          People

            Unassigned Unassigned
            asteban Sebastian Mancke
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: