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

Do not try to register synchronization when the transaction is no longer active

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 2.6.0
    • None

    Description

      The current code can try to register a synchronization with the transaction manager when the only transaction on the thread is already committed (e.g. if someone tries to call getConnection in aftercompletion. We should not try to register at that point as it is invalid.

      Attachments

        Activity

          People

            Unassigned Unassigned
            tomjenkinson Tom Jenkinson
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: