mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#1427 - Map all deleteByIds into a single CacheChangeBeanRemove and use bulk removeAll api to remove from cache
This commit is contained in:
@@ -29,8 +29,7 @@ public final class DeleteByIdMap {
|
||||
BeanDescriptor<?> d = deleteIds.getBeanDescriptor();
|
||||
List<Object> idValues = deleteIds.getIds();
|
||||
if (idValues != null) {
|
||||
d.queryCacheClear(changeSet);
|
||||
d.cacheHandleInvalidate(idValues);
|
||||
d.cacheHandleDeleteByIds(idValues, changeSet);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user