HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking

This commit is contained in:
brmeyer 2012-09-17 03:56:48 -04:00
parent 1871e9336e
commit 419d76b17f
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 ";
}
}