jackrabbit-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cko...@apache.org
Subject svn commit: r1461020 - /jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java
Date Tue, 26 Mar 2013 08:47:29 GMT
Author: ckoell
Date: Tue Mar 26 08:47:29 2013
New Revision: 1461020

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

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

Modified: jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java
URL: http://svn.apache.org/viewvc/jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java?rev=1461020&r1=1461019&r2=1461020&view=diff
==============================================================================
--- jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java
(original)
+++ jackrabbit/trunk/jackrabbit-jca/src/main/java/org/apache/jackrabbit/jca/TransactionBoundXAResource.java
Tue Mar 26 08:47:29 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