From 1b6f8e26cfce46cb5d6641720dbcf8a05e399ec9 Mon Sep 17 00:00:00 2001 From: "Hiram R. Chirino" Date: Fri, 25 Sep 2009 18:10:48 +0000 Subject: [PATCH] AMQ-2414: Fixing the failing create tables problem on MySQL cluster. git-svn-id: https://svn.apache.org/repos/asf/activemq/branches/activemq-5.3@818937 13f79535-47bb-0310-9956-ffa450edef68 --- .../apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java b/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java index 8df17e716a..8f9f119666 100755 --- a/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java +++ b/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/DefaultJDBCAdapter.java @@ -103,8 +103,8 @@ public class DefaultJDBCAdapter implements JDBCAdapter { JDBCPersistenceAdapter.log("Failure details: ", e); } } + c.getConnection().commit(); } - c.getConnection().commit(); } finally { try { s.close();