mirror of
https://github.com/ebean-orm/ebean.git
synced 2026-11-17 22:56:28 +00:00
1 parent
0762eaf0ab
commit
3829613c37
2 files changed
+1
-1
No files matched your search
@@ -83,6 +83,7 @@ public class CacheChangeSet {
|
||||
*/
|
||||
public void addClearQuery(BeanDescriptor<?> descriptor) {
|
||||
queryCaches.add(descriptor);
|
||||
touchedTables.add(descriptor.getBaseTable());
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -908,7 +908,6 @@ final class BeanDescriptorCacheHelp<T> {
|
||||
if (noCaching) {
|
||||
return;
|
||||
}
|
||||
changeSet.addInvalidate(desc);
|
||||
changeSet.addClearQuery(desc);
|
||||
// inserts don't invalidate the bean cache
|
||||
if (tableIUD.isUpdateOrDelete()) {
|
||||
|
||||
Reference in new issue
Block a user