db-derby-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kahat...@apache.org
Subject svn commit: r516009 - /db/derby/code/trunk/java/client/org/apache/derby/client/net/NetXAResource.java
Date Thu, 08 Mar 2007 11:05:56 GMT
Author: kahatlen
Date: Thu Mar  8 03:05:52 2007
New Revision: 516009

URL: http://svn.apache.org/viewvc?view=rev&rev=516009
Log:
DERBY-2406: Add comment explaining the setting of XA state

Patch contributed by Julius Stroffek.

Modified:
    db/derby/code/trunk/java/client/org/apache/derby/client/net/NetXAResource.java

Modified: db/derby/code/trunk/java/client/org/apache/derby/client/net/NetXAResource.java
URL: http://svn.apache.org/viewvc/db/derby/code/trunk/java/client/org/apache/derby/client/net/NetXAResource.java?view=diff&rev=516009&r1=516008&r2=516009
==============================================================================
--- db/derby/code/trunk/java/client/org/apache/derby/client/net/NetXAResource.java (original)
+++ db/derby/code/trunk/java/client/org/apache/derby/client/net/NetXAResource.java Thu Mar
 8 03:05:52 2007
@@ -246,6 +246,10 @@
             conn_.pendingEndXACallinfoOffset_ = -1; // indicate no pending callinfo
         }
         if (rc != XAResource.XA_OK) {
+            // The corresponding XA connection association state
+            // is changed by setXaStateForXAException inside the call
+            // to throwXAException according the error code of the XAException
+            // to be thrown.
             throwXAException(rc, false);
         }else {
         	conn_.setXAState(Connection.XA_T0_NOT_ASSOCIATED);



Mime
View raw message