Bug 276 : Save and delete cascade skippable (performance optimisation) needs to take inheritance hierarchy into account
Priority 
High
Reported Version 
 
Logged By 
Rob
Status 
Fixed
Fixed Version 
2.6.0
Assigned To 
 
Product 
Ebean - core
Duplicate Of 
 
Created 
14/04/2010
Updated 
14/04/2010
Type 
Bug
 
Attachments 
No attachments

In BeanDescriptor there is flag set to see if cascade save and cascade delete is skippable.

If this bean is in an inheritance hierarchy, this flag needs to take into account all relationships on other BeanDescriptors in the same inheritance hierarchy.

Bug found by Eddie.

 
Rob 14 Apr 11:02
Fixed in HEAD

Fixed in HEAD and Eddie checking the fix against his model.

Rob 21 Apr 11:21
Fixed by Eddie...

Eddie supplied the test case and fix. All confirmed now.

Fixed in HEAD.

woResponse

Upload a file