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

LocalXAConnectionFactory does not properly check if Xid is equal to currentXid when resuming

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.4
    • Fix Version/s: 1.5.1, 2.0
    • Labels:
      None

      Description

      The current implementation checks if Xid is not equal to currentXid using the != . That doesn't work in all cases resulting in XAException.
      I think that this check should be left to the Xid implementation.

        Attachments

        1. DBPC-341-patch.txt
          0.9 kB
          Ioannis Canellos

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              iocanel Ioannis Canellos
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: