• 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: EO Object Lifespan / Editing Context (Goodbye Bill)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: EO Object Lifespan / Editing Context (Goodbye Bill)


  • Subject: Re: EO Object Lifespan / Editing Context (Goodbye Bill)
  • From: "b.bum" <email@hidden>
  • Date: Thu, 17 Jul 2003 18:10:51 -0400

On Thursday, July 17, 2003, at 5:30 PM, Ray Ackland wrote:
Similarly, if you need any objects to be shared between multiple sessions, have it as an instance variable in the Application class.

Very true, but be careful...

In particular, you can't create relationships between objects if the objects are in different editing contexts. If you want shared objects, you want to use the application's EOSharedEditingContext instance.

As Ben Trumbull succinctly indicated at WWDC, EOSharedEditingContext is misnamed -- it really should be EOSharedReadOnlyEditingContext.

b.bum
_______________________________________________
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: EO Object Lifespan / Editing Context (Goodbye Bill)
      • From: Art Isbell <email@hidden>
References: 
 >RE: EO Object Lifespan / Editing Context (Goodbye Bill) (From: Ray Ackland <email@hidden>)

  • Prev by Date: Re: Can't modify EO objects! ARGH! =(
  • Next by Date: RE: EO Object Lifespan / Editing Context (Goodbye Bill)
  • Previous by thread: RE: EO Object Lifespan / Editing Context (Goodbye Bill)
  • Next by thread: Re: EO Object Lifespan / Editing Context (Goodbye Bill)
  • Index(es):
    • Date
    • Thread