On Jul 26, 2010, at 1:28 PM, Chuck Hill wrote:

>> I also heard that if an entity has multiple levels of hierarchy then delete 
>> cascade won't work after second level.
> 
> I have not heard that.  I have deleted several levels with no problems.

Whenever I ran into problems with this, it was _always_ a modeling problem, and 
never a really obvious one. Ownership settings, delete rules and nullable are 
all things that can trip you up when trying to do multiple levels.

In the end, once I got the model right, cascading deletes through 10-15 levels 
(recursive relationship structure) worked. It was actually quite scary how well 
it worked and it could delete huge amounts of data starting with just one 
object.

Dave _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to