• 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: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!


  • Subject: Re: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!
  • From: David LeBer <email@hidden>
  • Date: Tue, 5 Oct 2004 14:50:19 -0400


On Oct 5, 2004, at 2:40 PM, Jeremy Matthews wrote:

Drat!

Now I can update/deleted existing (imported) entries just fine, but I cannot create new ones!

com.webobjects.eoaccess.EOGeneralAdaptorException: EvaluateExpression failed: : Next exception:SQL State:23000 -- error code: 1062 -- msg: Duplicate key or integrity constraint violation message from server: "Duplicate entry '11' for key 1"



FYI, For some reason afterwards I was not able to edit/delete items as well, until restarting the app. Not sure what happened there either! However, this is not a true deployment, this is just the runtime test on my mac via XCode Build & Run. Still odd...

If you are not using a database specific plugin that handles pk generation, check to make sure your eo_pk_table is in sync.


If you've imported data, bypassing EOF, it will be. Update it accordingly.

;david

--
David LeBer
Codebase Software Systems
site:   http://www.codebase.ca
blog: http://david.codebase.ca

_______________________________________________
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


  • Follow-Ups:
    • Re: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!
      • From: David LeBer <email@hidden>
References: 
 >CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones! (From: Jeremy Matthews <email@hidden>)

  • Prev by Date: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!
  • Next by Date: Re: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!
  • Previous by thread: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!
  • Next by thread: Re: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!
  • Index(es):
    • Date
    • Thread