• 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
questions about SharedEditingContext
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

questions about SharedEditingContext


  • Subject: questions about SharedEditingContext
  • From: Helen He <email@hidden>
  • Date: Wed, 20 Jul 2005 14:56:05 -0400

Hi, all:

I am planning to use SharedEditingContext in one of my applications which only display the data when user searches. I have no experience about using this editing context. Although I have searched internet for info and read some docs, I still have several questions need to be asked:
1. From the doc, it says 'Since shared editing contexts listen for ObjectsChangedInStoreNotifications, the shared editing context updates when it learns that an object was modified'. Does that also mean if the database records changed by other applications, the shared editing context will get the notification too. If it is not, then how the application can detect something has been changed in external data store?

2. Does the SharedEditingContext only work with the fetchSpecifications which are pointed by either 'Share all objects' or 'Share objects fetched with' options in Shared Object Inspector OR it can work with any regular fetchSpecifications?


3. After shared EO objects are loaded into sharedEditingContext at Application level, how can we retrieve the data that is already in sharedEditingContext at each page ?

4. Is that 'new EOEditingContext().sharedEditingContext()' is same as 'EOSharedEditingContext.defaultSharedEditingContext()'? If it is not, how can we get the same object of EOSharedEditingContext as in the application level, which will be used to get objects in each session or in each page?


5. Does anybody find any memory issue with using EOSharedEditingContext?

6. Can anyone provide some sample code for using the EOSharedEditingContext both in Application level and page level?

These are all my questions for now. Hope to see your response soon. Thanks in advance!

Helen

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: questions about SharedEditingContext
      • From: Art Isbell <email@hidden>
    • Re: questions about SharedEditingContext
      • From: Helge Städtler <email@hidden>
  • Prev by Date: Workaround: Using EOModels with xCode 2.1 without EOModel beeing corrupted
  • Next by Date: Re: Webobjects-dev Digest, Vol 2, Issue 413
  • Previous by thread: Workaround: Using EOModels with xCode 2.1 without EOModel beeing corrupted
  • Next by thread: Re: questions about SharedEditingContext
  • Index(es):
    • Date
    • Thread