Uploaded image for project: 'Derby'
  1. Derby
  2. DERBY-1025

[xa] client XAResource.start() does not commit an active local transaction when auto commit is true

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 10.1.3.1, 10.2.1.6
    • Component/s: Network Client
    • Labels:
      None

      Description

      Embedded XAResource.start() implementation commits the active local transaction on the Connection associated with the XAResource if the connection is auto-commit mode.

      Client incorrectly throws an XAException with the XAER_RMFAIL error code (see DERBY-1024)

      XATest contains a work-around for client (calling commit) with a comment with this bug number.

        Attachments

        1. derby-1025-10.1.diff
          3 kB
          Deepa
        2. derby-1025-10.1.status
          0.2 kB
          Deepa
        3. derby-1025-patch2-v1.diff
          4 kB
          Deepa
        4. derby-1025-patch2-v1.status
          0.6 kB
          Deepa
        5. derby-1025-patch1-v1.diff
          8 kB
          Deepa
        6. derby-1025-patch1-v1.status
          0.5 kB
          Deepa
        7. derby-1025-draft1.diff
          9 kB
          Deepa
        8. derby-1025-draft1.status
          0.5 kB
          Deepa

          Activity

            People

            • Assignee:
              deepa Deepa
              Reporter:
              djd Daniel John Debrunner
            • Votes:
              1 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: