Check your delete rule on the reverse relation. I forget which one, but I think 
one of them is not compatible with cascade.

Jean Pierre Malrieu <[email protected]> wrote:

>Unfortunately that does not work...
>
>Le 21 mars 2014 à 04:57, Jean Pierre Malrieu <[email protected]> a écrit :
>
>> I love it when it's simple as that! Thanks!
>> 
>> JPM
>> 
>> Le 19 mars 2014 à 21:40, Ramsey Gurley <[email protected]> a écrit :
>> 
>>> Create the relationship but don’t make it a class property.
>>> 
>>> On Mar 19, 2014, at 12:30 PM, Jean Pierre Malrieu <[email protected]> 
>>> wrote:
>>> 
>>>> Hi,
>>>> 
>>>> Suppose I have a mandatory to-one relationship from A to B. Suppose there 
>>>> is no inverse relationship (many A's can be related to the same B, so I 
>>>> don't want many As to be faulted when I fetch a B).
>>>> What if the smarter way to ensure that A is deleted when I delete it's B? 
>>>> (assuming it is the correct behavior for me).
>>>> 
>>>> TIA
>>>> 
>>>> JPM
>>>> _______________________________________________
>>>> Do not post admin requests to the list. They will be ignored.
>>>> Webobjects-dev mailing list      ([email protected])
>>>> Help/Unsubscribe/Update your Subscription:
>>>> https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>>>> 
>>>> This email sent to [email protected]
>>> 
>> 
>> 
>> _______________________________________________
>> Do not post admin requests to the list. They will be ignored.
>> Webobjects-dev mailing list      ([email protected])
>> Help/Unsubscribe/Update your Subscription:
>> https://lists.apple.com/mailman/options/webobjects-dev/jp.malrieu%40free.fr
>> 
>> This email sent to [email protected]
>
>
> _______________________________________________
>Do not post admin requests to the list. They will be ignored.
>Webobjects-dev mailing list      ([email protected])
>Help/Unsubscribe/Update your Subscription:
>https://lists.apple.com/mailman/options/webobjects-dev/rgurley%40smarthealth.com
>
>This email sent to [email protected]

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to