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

XAConnection close method should throw an exception if it is called when the global transaction is associated with the connection.

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 10.2.2.0
    • Fix Version/s: None
    • Component/s: JDBC, Network Client
    • Urgency:
      Normal
    • Bug behavior facts:
      Embedded/Client difference

      Description

      As comments show in DERBY-2220 The Distributed Transaction Processing: The XA Specification forbids for a transaction manager or an application to call XAConnection.close method when there is a global transaction associated with the XA connection.

      Currently,

      Embedded driver throws the exception but the connection is left in a state when it cannot be used anymore and the locks held by the transaction can not be released later.

      Network driver allows the call of the method and closes the connection.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                julo Julius Stroffek
              • Votes:
                0 Vote for this issue
                Watchers:
                2 Start watching this issue

                Dates

                • Created:
                  Updated: