DB2 support 'skip locked data' on DB2

For HHH-14210
This commit is contained in:
Gavin King 2020-09-08 12:25:31 +02:00 committed by Andrea Boriero
parent ae07a8b791
commit 12a31ef438
1 changed files with 9 additions and 0 deletions

View File

@ -328,6 +328,15 @@ public class DB2Dialect extends Dialect {
return " for read only with rs use and keep update locks";
}
@Override
public boolean supportsSkipLocked() {
return true;
}
@Override
public String getForUpdateSkipLockedString() {
return getForUpdateString() + " skip locked data";
}
@Override
public boolean supportsOuterJoinForUpdate() {
return false;