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:
Gary Tully 2008-11-03 13:05:37 +00:00
parent 65ff8f4b9b
commit 46b5eb15fd
1 changed files with 1 additions and 1 deletions

View File

@ -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);