Re: Inserting records into to-many relationship
Re: Inserting records into to-many relationship
- Subject: Re: Inserting records into to-many relationship
- From: Tanmoy Roy <email@hidden>
- Date: Mon, 15 Aug 2005 13:14:32 +0530
Hi all,
Thanks for the help. But I am still stuck with the problem. What I am doing is I am declaring eoEditingC= this.session().defaultEditingContext() and I am inserting all the EO in it. I am not using any other EC for that matter. I have also added the EO to the EC before using the addObjectTO... function. Now it is giving me another exception saying "Cannot insert Object which is already there in the database". I am stumped again. What am I doing wrong now??
On 8/15/05, Florijan Stamenkovic <email@hidden> wrote:
On Aug 14, 2005, at 22:18, Arturo Pérez wrote:
> The main reason to check Propagate Primary Keys is to support Join
> Tables where the join table's primary key is the set of primary keys
> of the joined items.
Oh yeah, that usage slipped my mind there. My apologies for
misinformation.
Flor
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
email@hidden
--
Best,
Tanmoy
_______________________________________________
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