Re: Error saving data to EO
Re: Error saving data to EO
- Subject: Re: Error saving data to EO
- From: Chuck Hill <email@hidden>
- Date: Mon, 11 Jul 2005 20:39:31 -0700
Primary keys must _never_ be updated. They are what EOF uses to
uniquely identify the object.
Chuck
On Jul 11, 2005, at 8:20 PM, Don Lindsay wrote:
Hello;
I have a single page that encounters an error when I try to save
changes. This is the only page in the application that has this
problem. I have included the error from the console, are primary
keys not allowed to be updated through the EO Model?
UsersWo, saving changes: cannot update primary-key 'registrati'
from '200500' to '200501' on object:{values = {registrati =
"200501"; rma = 0.0; tracking = 2.005E8; }; this = "<TechHelpSetup
d3e679 _EOVectorKeyGlobalID[TechHelpSetup (java.lang.String)200500,
(java.lang.Double)0.0,(java.lang.String) ,(java.lang.Double)2.005E8]
>"; } of entity: TechHelpSetup in databaseContext
Thanks,
Don
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40global-village.net
This email sent to email@hidden
--
Practical WebObjects - a book for intermediate WebObjects developers
who want to increase their overall knowledge of WebObjects, or those
who are trying to solve specific application development problems.
http://www.global-village.net/products/practical_webobjects
_______________________________________________
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