Explicit locking method withLock() is unaccessible on query beans

This commit is contained in:
Vladimir Konkov
2021-04-05 21:45:48 +03:00
parent 7fc4a229ae
commit 6d8a1c9398
2 changed files with 3 additions and 2 deletions
@@ -679,7 +679,7 @@ public abstract class TQRootBean<T, R> {
* Provides us with the ability to explicitly use Postgres
* SHARE, KEY SHARE, NO KEY UPDATE and UPDATE row locks.
*/
R withLock(Query.LockType lockType) {
public R withLock(Query.LockType lockType) {
query.withLock(lockType);
return root;
}
@@ -693,7 +693,7 @@ public abstract class TQRootBean<T, R> {
* Provides us with the ability to explicitly use Postgres
* SHARE, KEY SHARE, NO KEY UPDATE and UPDATE row locks.
*/
R withLock(Query.LockType lockType, Query.LockWait lockWait) {
public R withLock(Query.LockType lockType, Query.LockWait lockWait) {
query.withLock(lockType, lockWait);
return root;
}