Re: Does "cascade delete" drill down multiple teirs?
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