I'm probably missing something obvious, but the nullify on my relationship is not working the way I expected.

I have a many-to-one relationship from MyEntity <<---> MyEntityType. Both sides of the relationship are set to Optional and Nullify, though the back relationship from MyEntityType to MyEntity is not a class property. When I delete an instance of MyEntityType, I expect that all of the instances of MyEntity that are related to that MyEntityType will have their myEntityTypeId set to null. But instead it just deletes the MyEntityType and leaves instances of MyEntity with dangling references.

Certainly I can just manually nullify the relationship as well, but I'd like to do it the correct way. Am I misunderstanding how nullify should work, or am I doing something slightly wrong? I have a many-to- many in the same application that is properly nullifying everything correctly when I delete one side.

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

This email sent to [email protected]

Reply via email to