• 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: Error saving data to EO
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: Error saving data to EO
      • From: Art Isbell <email@hidden>
    • Re: Error saving data to EO
      • From: David LeBer <email@hidden>
References: 
 >Error saving data to EO (From: Don Lindsay <email@hidden>)

  • Prev by Date: Error saving data to EO
  • Next by Date: Re: Error saving data to EO
  • Previous by thread: Error saving data to EO
  • Next by thread: Re: Error saving data to EO
  • Index(es):
    • Date
    • Thread