HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking

This commit is contained in:
brmeyer 2012-09-17 03:54:36 -04:00
parent b040866c2c
commit 9f7f572490
1 changed files with 10 additions and 0 deletions

View File

@ -462,4 +462,14 @@ public class PostgreSQL81Dialect extends Dialect {
public boolean supportsRowValueConstructorSyntax() {
return true;
}
@Override
public String getForUpdateNowaitString() {
return getForUpdateString() + " nowait ";
}
@Override
public String getForUpdateNowaitString(String aliases) {
return getForUpdateString(aliases) + " nowait ";
}
}