• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Nullify on relationship is not working
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Nullify on relationship is not working


  • Subject: Nullify on relationship is not working
  • From: Logan & Rebecca Allred <email@hidden>
  • Date: Mon, 26 Jun 2006 17:40:49 -0600

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: Nullify on relationship is not working
      • From: Paul Suh <email@hidden>
  • Prev by Date: Re: JavaMail Props Not Being Set
  • Next by Date: Re: Nullify on relationship is not working
  • Previous by thread: Re: JDBCPrototypes and EOgenerator
  • Next by thread: Re: Nullify on relationship is not working
  • Index(es):
    • Date
    • Thread