SourceForge.net Logo
Main Overview Wiki Issues Forum Build Fisheye
Issue Details (XML | Word | Printable)

Key: CMP-306
Type: New Feature New Feature
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
Assignee: Shay Banon
Reporter: Shay Banon
Votes: 1
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
Compass

Support cascading in Component mapping

Created: 24/Oct/06 11:36 AM   Updated: 27/Feb/07 03:06 PM
Component/s: Compass::Core
Affects Version/s: None
Fix Version/s: 1.1 RC1


 Description  « Hide
Cascading in component mapping support will have the following values:
none (default): no cascading will be done.
save: When saving an object, all of its component mappings will be saved as well (only if they are root).
create: When creating an object, all of its component mappings will be created as well (only if they are root).
delete: When deleting an object, all of its component mappings will be deleted as well (only if they are root).
all: save+delete+create

It is important not to confuse the fact that with component mappings they will be cascaded into the top most Resource. This feature related to component mappings that are also root searchable (i.e. objects that stand on their own, like Customer and Order), and any change to one, will result in cascading the change to the others.



 All   Comments   Change History      Sort Order: Ascending order - Click to sort in descending order
Shay Banon added a comment - 26/Dec/06 02:15 PM
Cascading implemented, also for non root objects. This means that operations can now be performed against non root objects and cascading will be performed on them.