Re: Strange constraint violation
Re: Strange constraint violation
- Subject: Re: Strange constraint violation
- From: Petite Abeille <email@hidden>
- Date: Fri, 30 Sep 2011 13:46:04 +0200
On Sep 30, 2011, at 6:44 AM, Jeff Schmitz wrote:
> Integrity constraint violation (FOREIGN KEY, t_pool.t_pool_id_id_FK(id=1000002)).
>
> as I don't know why it would be considered a foreign key since it's the ID of the row being added,
Well, is your t_pool.pool_id pk used in any foreign key referential constraints? The violation seems to indicate that yes, it's used as a foreign key somewhere. If that's the case, and it's on purpose, you might want to make that constraint deferrable.
> but then I'm no low level DB expert (one of the reasons I use webobjects :-))
Hmmm...
_______________________________________________
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