Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

HHH-6452 PostgreSQL Dialect does not fully implement NOWAIT locking

  • Loading branch information...
commit 9f7f572490e4d184383486f4f18eccc7748d05bc 1 parent b040866
@brmeyer brmeyer authored
View
10 hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
@@ -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 ";
+ }
}
Please sign in to comment.
Something went wrong with that request. Please try again.