#1553 - Remove deprecated method Query.setForUpdate(boolean) ... migrate to setForUpdate()

This commit is contained in:
rob bygrave committed 2018-11-19 23:40:00 +13:00
1 parent 83776a1eae
commit 9dbb69f4f4
2 files changed
-16

No files matched your search

@@ -910,13 +910,6 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
return this;
}
@Override
public DefaultOrmQuery<T> setForUpdate(boolean forUpdate) {
this.forUpdate = (forUpdate) ? ForUpdate.BASE : null;
this.useBeanCache = CacheMode.OFF;
return this;
}
@Override
public DefaultOrmQuery<T> forUpdate() {
return setForUpdateWithMode(ForUpdate.BASE);