mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Bug Collection IDs L2 cache not cleared on external sql modification of the table #1179
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user