Re: deleteSelection sets relationship null rather than deleting
Re: deleteSelection sets relationship null rather than deleting
- Subject: Re: deleteSelection sets relationship null rather than deleting
- From: LD <email@hidden>
- Date: Wed, 5 Oct 2005 10:42:33 +1000
Hi Ian,
On 04/10/2005, at 4:11 PM, Ian Joyner wrote:
I have a reflexive many-to-many contacts relationship modelled, as
you would expect through a join table. The entity is defined as
follows:
attributes:
primary_key not null
relationship: string
contact_key not null
owner_key not null
relationships:
contact: contact_key -> Person.primary_key (optional) on delete,
nullify
owner: owner_key -> Person.primary_key (optional) on delete,
nullify
If your relationships are optional then the corresponding keys
(contact_key, owner_key) should also be optional rather than 'not
null'. That'd be a start in getting it right...
with regards,
--
LD
_______________________________________________
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