mirror of https://github.com/apache/activemq.git
resolve AMQ-1191 - patch applied, thanks
git-svn-id: https://svn.apache.org/repos/asf/activemq/trunk@710048 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
parent
65ff8f4b9b
commit
46b5eb15fd
|
@ -30,7 +30,7 @@ public class TransactJDBCAdapter extends ImageBasedJDBCAdaptor {
|
|||
if (statements.isUseLockCreateWhereClause()) {
|
||||
lockCreateStatement += " WHERE ID = 1";
|
||||
}
|
||||
lockCreateStatement += " WITH XLOCK";
|
||||
lockCreateStatement += " WITH (UPDLOCK, ROWLOCK)";
|
||||
statements.setLockCreateStatement(lockCreateStatement);
|
||||
|
||||
super.setStatements(statements);
|
||||
|
|
Loading…
Reference in New Issue