Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: SharedEditingContext Write Locks?




Am 14.11.2005 um 22:02 schrieb Dov Rosenberg:

We do have a NSMutableDictionary that we use as an EO cache (primary key is the key).

If you want to cache EOs its a good idea to cache their EOGlobalID and get EOs with:

gid = eo.ec.globalIdForObject(eo);
eo = ec.faultForGlobalId(gid, ec);


gid can be serialized, transferred to other instances and so on.

regards david
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/email@hidden

This email sent to email@hidden

References: 
 >Re: SharedEditingContext Write Locks? (From: Dov Rosenberg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.