In this case I don't want to use awakeFromInsertion as the relationship is very, very optional (i.e. small % of entities have not-null relationship.)
I'm I missing something here? What does being optional (or even very, very optional) have to do with using awakeFromInsertion?
At the time the parent entity is created I don't know if I'll need the
related entity. I don't want to create an empty EO every time I create
a new parent as there are literally hundreds of thousands of parents and
maybe a few thousand with the need for the child.
Think User --> Preferences with 99% of users content to inherit default
settings and never override. For the odd one that does a preferences
object is created and the relationship established.
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