HHH-9635 - Fix SQLServer2005Dialect (and above) does not support read past locking
This commit is contained in:
parent
034afb96bf
commit
4fb11c9919
|
@ -80,7 +80,8 @@ public class SQLServer2005Dialect extends SQLServerDialect {
|
|||
}
|
||||
case PESSIMISTIC_READ: {
|
||||
return tableName + " with (holdlock, rowlock" + noWaitStr + ")";
|
||||
}
|
||||
}case UPGRADE_SKIPLOCKED:
|
||||
return tableName + " with (updlock, rowlock, readpast" + noWaitStr + ")";
|
||||
default: {
|
||||
return tableName;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue