mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
#724 - NPE when using L2 caching configured with @Cache with queryCaching=true and beanCaching=false
This commit is contained in:
@@ -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++) {
|
||||
|
||||
Reference in New Issue
Block a user