• 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
Re: Strange constraint violation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Strange constraint violation (From: Jeff Schmitz <email@hidden>)

  • Prev by Date: Re: Strange constraint violation
  • Next by Date: WOLips.framework and log4j
  • Previous by thread: Re: Strange constraint violation
  • Next by thread: Re: Strange constraint violation
  • Index(es):
    • Date
    • Thread