jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1461022 - /jackrabbit/branches/2.6/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java
Date Tue, 26 Mar 2013 08:49:13 GMT
Author: ckoell
Date: Tue Mar 26 08:49:12 2013
New Revision: 1461022

URL: http://svn.apache.org/r1461022
Log:
JCR-3276 JCA Adpater not handling transaction suspension correctly

Modified:
    jackrabbit/branches/2.6/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java

Modified: jackrabbit/branches/2.6/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java
URL: http://svn.apache.org/viewvc/jackrabbit/branches/2.6/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java?rev=1461022&r1=1461021&r2=1461022&view=diff
==============================================================================
--- jackrabbit/branches/2.6/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java
(original)
+++ jackrabbit/branches/2.6/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java
Tue Mar 26 08:49:12 2013
@@ -55,7 +55,9 @@ public class TransactionBoundXAResource 
             try {
                 xaResource.end(arg0, arg1);
             } finally {
-                this.connection.closeHandles();
+            	if(arg1 != XAResource.TMSUSPEND) {
+            		this.connection.closeHandles();
+            	}
             }
             // reuse the XAResource
             this.ending = false;



Mime
View raw message