You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by ay...@apache.org on 2015/05/19 14:47:47 UTC
cxf git commit: [CXF-6406] WS-RM persistence with RMTxStore does not
work with JNDI Lookup
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();
}