Re: CAN Edit/Delete imported DB entries; CAN NO LONGER create new ones!
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