Return-Path: X-Original-To: apmail-cxf-commits-archive@www.apache.org Delivered-To: apmail-cxf-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 91B1D186A4 for ; Tue, 19 May 2015 12:49:06 +0000 (UTC) Received: (qmail 38509 invoked by uid 500); 19 May 2015 12:49:06 -0000 Delivered-To: apmail-cxf-commits-archive@cxf.apache.org Received: (qmail 38456 invoked by uid 500); 19 May 2015 12:49:06 -0000 Mailing-List: contact commits-help@cxf.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cxf.apache.org Delivered-To: mailing list commits@cxf.apache.org Received: (qmail 38446 invoked by uid 99); 19 May 2015 12:49:06 -0000 Received: from git1-us-west.apache.org (HELO git1-us-west.apache.org) (140.211.11.23) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 19 May 2015 12:49:06 +0000 Received: by git1-us-west.apache.org (ASF Mail Server at git1-us-west.apache.org, from userid 33) id 5424EE17A1; Tue, 19 May 2015 12:49:06 +0000 (UTC) Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit From: ay@apache.org To: commits@cxf.apache.org Message-Id: X-Mailer: ASF-Git Admin Mailer Subject: cxf git commit: [CXF-6406] WS-RM persistence with RMTxStore does not work with JNDI Lookup Date: Tue, 19 May 2015 12:49:06 +0000 (UTC) Repository: cxf Updated Branches: refs/heads/3.0.x-fixes 5b18919b3 -> 153ddff4e [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/153ddff4 Tree: http://git-wip-us.apache.org/repos/asf/cxf/tree/153ddff4 Diff: http://git-wip-us.apache.org/repos/asf/cxf/diff/153ddff4 Branch: refs/heads/3.0.x-fixes Commit: 153ddff4e01da711cc26c1f76bbbb0ea1e4708ad Parents: 5b18919 Author: Akitoshi Yoshida Authored: Tue May 19 14:47:04 2015 +0200 Committer: Akitoshi Yoshida Committed: Tue May 19 14:48:43 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/153ddff4/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 c298db2..ef01405 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(); }