• 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: Ok, so refetch() is deprecated in EOEditingContext...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Ok, so refetch() is deprecated in EOEditingContext...


  • Subject: Re: Ok, so refetch() is deprecated in EOEditingContext...
  • From: Art Isbell <email@hidden>
  • Date: Thu, 6 Feb 2003 11:53:52 -1000

On Thursday, February 6, 2003, at 11:32  AM, Kaj Hejer wrote:

One thing (I think) I should know :) but don't know is the difference between ec.refaultObject(eo) and ec.invalidateObjectsWithGlobalIDs(gids).

Does both this methods leads to the same result?

I don't think so. I think refaultObject() refaults only the object in the editing context to which this message is sent whereas invalidateObjectsWithGlobalIDs() refaults all objects with the same global ID in all editing contexts plus the snapshot itself. I.e., invalidateObjectsWithGlobalIDs() has a much more radical affect and should not be used unless one knows that refaulting the object in other editing contexts won't be a problem. I avoid invalidating objects whenever possible (which is almost always).


Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.

References: 
 >Re: Ok, so refetch() is deprecated in EOEditingContext... (From: Kaj Hejer <email@hidden>)

  • Prev by Date: Re: java client beginner question
  • Next by Date: WEIRD bug thing; 'shared' as reserved word? can you explain it?
  • Previous by thread: Re: Ok, so refetch() is deprecated in EOEditingContext...
  • Next by thread: wotaskd and Deaths
  • Index(es):
    • Date
    • Thread