mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1553 - Remove deprecated method Query.setForUpdate(boolean) ... migrate to setForUpdate()
This commit is contained in:
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);
|
||||
|
||||
Reference in new issue
Block a user