mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
#1401 - FOR UPDATE queries inside a transaction are not honored when beans are already cached (in the persistence context)
This commit is contained in:
1 parent
10ad9ef096
commit
e9faef2692
5 files changed
+44
-6
No files matched your search
@@ -1276,8 +1276,8 @@ public class DefaultOrmQuery<T> implements SpiQuery<T> {
|
||||
}
|
||||
|
||||
@Override
|
||||
public boolean isBeanCacheReload() {
|
||||
return CacheMode.PUT == useBeanCache;
|
||||
public boolean isForceHitDatabase() {
|
||||
return forUpdate != null || CacheMode.PUT == useBeanCache;
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
Reference in new issue
Block a user