Re: Relationship Question
Re: Relationship Question
- Subject: Re: Relationship Question
- From: Robert Walker <email@hidden>
- Date: Mon, 3 Jan 2005 12:08:25 -0500
Greg,
Do you have the "Cascade" delete rule set? The "Owns Destination"
option should only be set if "Cascade" delete rule is also set (at
least from my understanding).
On Jan 3, 2005, at 3:30 AM, Greg wrote:
Hi,
I have an entity called ProPriceSchedule that has a to-many
relationship to ProPrice. ProPriceSchedule owns the destination of the
relationship. When I try to delete the a price object by
removeObjectFromBothSidesOfRelationshipWithKey, an exception is thrown
and the description is "A <b>Pro Price</b> must have a <b>Price
Schedule</b>" I know that this is correct as the relationship is
mandatory in the ProPrice entity.
Why when I save the ec after removing the object that this is
happening?
Any help is greatly appreciated,
Regards,
Greg
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
This email sent to email@hidden
--
Robert Walker
Bennett Technology Group
(770) 957-1866 Ext: 790
_______________________________________________
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