• 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: Arturo Pérez <email@hidden>
  • Date: Wed, 11 Feb 2004 22:55:53 -0500

On Feb 10, 2004, at 12:52 PM, Jonathan Rochkind wrote:


Well the session's defaultEditing context is a shared one by default, isn't it? So it's not like I'm going
out of my way to use it :-)

No. The session's defaultEditingContext() is not an EOSharedEditingContext. Normally there is only one EOSharedEditingContext in your app (it may be possible but probably not desirable to create more). Which you can access from EOSharedEditingContext.defaultSharedEditingContext().


Each session has it's own defaultEditingContext(), seperate from other session's default ECs, and the defaultEditingContext is not (normally) an EOSharedEditingContext.

Well then I must be doing something accidentally evil. Since none of my EOs are marked as shared
and the session default EC isn't shared then I'm at a loss to explain why I get the "Shared
object already fetched in non-shared context" error. Time to run a grep to see what I'm doing
with _the_ shared EC and why.


Thanks for all the clarification.
----
WO in philadelphia - wanna cheesesteak with that?
Please visit 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.

  • Follow-Ups:
    • Re: Shared vs regular editing contexts
      • From: Max Muller <email@hidden>
References: 
 >Re: Shared vs regular editing contexts (From: Arturo Pérez <email@hidden>)
 >Re: Shared vs regular editing contexts (From: Jonathan Rochkind <email@hidden>)

  • Prev by Date: Re: Java image generation...
  • Next by Date: Re: Java image generation...
  • Previous by thread: Re: Shared vs regular editing contexts
  • Next by thread: Re: Shared vs regular editing contexts
  • Index(es):
    • Date
    • Thread