Re: Inserting records into to-many relationship
Re: Inserting records into to-many relationship
- Subject: Re: Inserting records into to-many relationship
- From: Florijan Stamenkovic <email@hidden>
- Date: Sun, 14 Aug 2005 21:57:10 +0200
On Aug 14, 2005, at 15:30, Zak Burke wrote:
It gives me an exception that the
authorId of Books cannot bew null.
Make sure you set the author -->> books relationship to propagate its
primary key.
Nope, that is NOT the case. I think that the only usage of propagate
primary key is in one - to - one relationships (it is the only one I
know about). On a one2many and reverse relationships it should NOT be
checked.
The problem described above is obviously the result of mishandling
relationships ( EOs not being inserted into the same editing context
when relating them).
Cheers
Flor
Good luck,
zak.
_______________________________________________
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