Fix for Issue 30 Invalidating L2 Cache on deletion for referenced

OneToMany relations not working
This commit is contained in:
Robin Bygrave
2013-06-27 23:13:06 +12:00
parent 488b856470
commit 4bbbad9b3b
@@ -1055,7 +1055,7 @@ public class BeanDescriptor<T> {
for (int i = 0; i < propertiesOneImported.length; i++) {
BeanPropertyAssocMany<?> many = propertiesOneImported[i].getRelationshipProperty();
if (many != null) {
propertiesOneImported[i].cacheDelete(true, deleteRequest);
propertiesOneImported[i].cacheDelete(true, deleteRequest.getBean());
}
}
}