• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: willDelete() is not getting fired for children in a tree structured entity
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: willDelete() is not getting fired for children in a tree structured entity


  • Subject: Re: willDelete() is not getting fired for children in a tree structured entity
  • From: David Avendasora <email@hidden>
  • Date: Tue, 27 Jul 2010 07:20:50 -0400

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@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

References: 
 >willDelete() is not getting fired for children in a tree structured entity (From: Farrukh Ijaz <email@hidden>)
 >Re: willDelete() is not getting fired for children in a tree structured entity (From: Chuck Hill <email@hidden>)
 >Re: willDelete() is not getting fired for children in a tree structured entity (From: Ramsey Gurley <email@hidden>)
 >Re: willDelete() is not getting fired for children in a tree structured entity (From: Farrukh Ijaz <email@hidden>)
 >Re: willDelete() is not getting fired for children in a tree structured entity (From: Chuck Hill <email@hidden>)

  • Prev by Date: Re: Ajax accordion menu examples
  • Next by Date: ERXKeepAliveResponse for Video Streaming?
  • Previous by thread: Re: willDelete() is not getting fired for children in a tree structured entity
  • Next by thread: Using Apache in Development
  • Index(es):
    • Date
    • Thread