activemq-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gtu...@apache.org
Subject svn commit: r710048 - /activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/TransactJDBCAdapter.java
Date Mon, 03 Nov 2008 13:05:38 GMT
Author: gtully
Date: Mon Nov  3 05:05:37 2008
New Revision: 710048

URL: http://svn.apache.org/viewvc?rev=710048&view=rev
Log:
resolve AMQ-1191 - patch applied, thanks

Modified:
    activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/TransactJDBCAdapter.java

Modified: activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/TransactJDBCAdapter.java
URL: http://svn.apache.org/viewvc/activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/TransactJDBCAdapter.java?rev=710048&r1=710047&r2=710048&view=diff
==============================================================================
--- activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/TransactJDBCAdapter.java
(original)
+++ activemq/trunk/activemq-core/src/main/java/org/apache/activemq/store/jdbc/adapter/TransactJDBCAdapter.java
Mon Nov  3 05:05:37 2008
@@ -30,7 +30,7 @@
         if (statements.isUseLockCreateWhereClause()) {
             lockCreateStatement += " WHERE ID = 1";
         }
-        lockCreateStatement += " WITH XLOCK";
+        lockCreateStatement += " WITH (UPDLOCK, ROWLOCK)";
         statements.setLockCreateStatement(lockCreateStatement);
 
         super.setStatements(statements);



Mime
View raw message