• 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: Does "cascade delete" drill down multiple teirs?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Does "cascade delete" drill down multiple teirs?


  • Subject: Re: Does "cascade delete" drill down multiple teirs?
  • From: Chuck Hill <email@hidden>
  • Date: Tue, 17 Mar 2009 15:43:53 -0700


On Mar 17, 2009, at 3:31 PM, Dan Grec wrote:

Hey everyone,

Simple setup in the model as follows:

A Branch has many Employees with a cascade delete rule.
An Employee has many Addresses with a cascade delete rule.

When I delete a Branch, I would like EOF to automatically delete all of the associated Employees (which it is doing)
and then cascade down and delete all of the Addresses that are associated to all of those Employees (which it is not doing)

Check your model to see if it _really_ matches what you have above. Is the Address somehow getting disconnected from the Employee before this delete rule fires?



Is EOF supposed to do this? Any ideas why it is not?

Best bet is your model is not what you think it is, or something else is disconnecting the Employee and Address.


Chuck




WO 5.4.3
Latest Wonder
Oracle 10g is the DB using ojdbc14.jar with the thin driver

Thanks,
-Dan

_______________________________________________
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


-- Chuck Hill Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________ 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: 
 >Does "cascade delete" drill down multiple teirs? (From: Dan Grec <email@hidden>)

  • Prev by Date: Re: .woo and display groups
  • Next by Date: Re: Does "cascade delete" drill down multiple teirs?
  • Previous by thread: Does "cascade delete" drill down multiple teirs?
  • Next by thread: Re: Does "cascade delete" drill down multiple teirs?
  • Index(es):
    • Date
    • Thread