Bug Collection IDs L2 cache not cleared on external sql modification of the table #1179

This commit is contained in:
Ondrej Pacay committed 2017-10-19 01:06:43 +02:00
1 parent 6ac146cabe
commit b60f1f978f
2 files changed
+77 -5

No files matched your search

@@ -678,6 +678,10 @@ final class BeanDescriptorCacheHelp<T> {
}
// any change invalidates the query cache
queryCacheClear();
// any change invalidates the collection IDs cache
for (BeanPropertyAssocOne<?> aPropertiesOneImported : propertiesOneImported) {
aPropertiesOneImported.cacheClear();
}
}
void cacheNaturalKeyPut(Object id, Object newKey) {