#724 - NPE when using L2 caching configured with @Cache with queryCaching=true and beanCaching=false

This commit is contained in:
Robin Bygrave
2016-05-30 16:56:04 +12:00
parent 067a8b784c
commit 37ea56ad11
@@ -620,6 +620,11 @@ final class BeanDescriptorCacheHelp<T> {
queryCacheClear(changeSet);
if (beanCache == null) {
// query caching only
return;
}
List<BeanPropertyAssocMany<?>> manyCollections = updateRequest.getUpdatedManyCollections();
if (manyCollections != null) {
for (int i = 0; i < manyCollections.size(); i++) {