cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject cxf git commit: [CXF-6406] WS-RM persistence with RMTxStore does not work with JNDI Lookup
Date Tue, 19 May 2015 12:47:47 GMT
Repository: cxf
Updated Branches:
  refs/heads/master b4f34d03b -> c16adcdc9


[CXF-6406] WS-RM persistence with RMTxStore does not work with JNDI Lookup


Project: http://git-wip-us.apache.org/repos/asf/cxf/repo
Commit: http://git-wip-us.apache.org/repos/asf/cxf/commit/c16adcdc
Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/c16adcdc
Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/c16adcdc

Branch: refs/heads/master
Commit: c16adcdc976181841bfc45b82e7bc84f9a9bf59e
Parents: b4f34d0
Author: Akitoshi Yoshida <ay@apache.org>
Authored: Tue May 19 14:47:04 2015 +0200
Committer: Akitoshi Yoshida <ay@apache.org>
Committed: Tue May 19 14:47:16 2015 +0200

----------------------------------------------------------------------
 .../main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java  | 1 +
 1 file changed, 1 insertion(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cxf/blob/c16adcdc/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
----------------------------------------------------------------------
diff --git a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
index 1ad6779..4c2954a 100644
--- a/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
+++ b/rt/ws/rm/src/main/java/org/apache/cxf/ws/rm/persistence/jdbc/RMTxStore.java
@@ -949,6 +949,7 @@ public class RMTxStore implements RMStore {
                 }
             }
         } finally {
+            con.setAutoCommit(false);
             if (connection == null && con != null) {
                 con.close();
             }


Mime
View raw message