mirror of
https://github.com/hibernate/hibernate-orm
synced 2025-03-08 10:49:37 +00:00
HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking
This commit is contained in:
parent
1871e9336e
commit
419d76b17f
@ -462,4 +462,14 @@ public String getReadLockString(int timeout) {
|
||||
public boolean supportsRowValueConstructorSyntax() {
|
||||
return true;
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getForUpdateNowaitString() {
|
||||
return getForUpdateString() + " nowait ";
|
||||
}
|
||||
|
||||
@Override
|
||||
public String getForUpdateNowaitString(String aliases) {
|
||||
return getForUpdateString(aliases) + " nowait ";
|
||||
}
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user