Re: Editing context that dont communicate changes.

Ben Trumbull <[email protected]>
Newsgroups gmane.comp.web.webobjects.devel,gmane.comp.web.webobjects.eof
Message-ID <a05200f05ba8c10ee00e0@[17.205.42.108]>
At 11:17 -0300 3/5/03, Ing.Gaston Blanco wrote:
>I want that the objets in my Editing Context are never changed 
>automatically because of a saveChanges() in another editing context 
>of the same ObjectStoreCoordinator.

You probably also need to implement 
editingContextShouldInvalidateObject(...).  The merge methods are 
only invoked for EOs for which your current EC has pending changes. 
If you don't have pending changes, then the EOs (changed by the other 
EC) will simply be refaulted.
-- 

-Ben
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.