mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#970 - FOR UPDATE queries are not honored when beans are already cached
This commit is contained in:
1 parent
3d8db775f7
commit
8bb884374b
2 files changed
+11
No files matched your search
@@ -804,6 +804,7 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
|
||||
@Override
|
||||
public DefaultOrmQuery<T> setForUpdate(boolean forUpdate) {
|
||||
this.forUpdate = forUpdate;
|
||||
this.excludeBeanCache = true;
|
||||
return this;
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user