• 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: Shared vs regular editing contexts
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Shared vs regular editing contexts


  • Subject: RE: Shared vs regular editing contexts
  • From: "Jonathan Fleming" <email@hidden>
  • Date: Tue, 10 Feb 2004 17:06:53 +0000

Maybe I'm being a bit niave here, but what is wrong with simply using this line in you contructor or method that is called when you are going to change the content of a shared object?

EOSharedEditingContext.setDefaultSharedEditingContext(null);

It'll allow you to update, refault, refetch... you know, the normal thing you do with EO's

Jonathan :^)
ps. sorry if I haven't understood.

From: arturo <email@hidden>
Reply-To: arturo <email@hidden>
To: email@hidden
Subject: Shared vs regular editing contexts
Date: Mon, 09 Feb 2004 12:15:51 -0500

Currently I have a problem with my editing contexts.  The non-shared ones
and the default shared one interfere
with each other causing all kinds of grief.  I'm sort of loathe to just
blanket turn off the shared context as my
application is read-mostly.

So, I'm asking what is the best way to keep the shared contexts happy?  My
latest attempt is to just
invalidate all objects in both the updatable and the shared context.  But
I'm concerned that that may
be too extreme and cause a whole bunch of unnecessary database traffic.
Should I just refault everything?
Or should I just give up on the shared contexts?

Thanks in advance
-arturo
http://webobjects.meetup.com/
_______________________________________________
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.

_________________________________________________________________
It's fast, it's easy and it's free. Get MSN Messenger today! http://www.msn.co.uk/messenger
_______________________________________________
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.

  • Prev by Date: Re: Direct2Web
  • Next by Date: Re: Shared vs regular editing contexts
  • Previous by thread: Re: Shared vs regular editing contexts
  • Next by thread: Re: Shared vs regular editing contexts
  • Index(es):
    • Date
    • Thread