Another option if your logic allows it, you could also just create a new EC at this point, setting FetchTimestamp to System.currentTimeMillis() and then fault in your object(s) that you are currently working with using ec.faultForGlobalID(...)
On Feb 7, 2010, at 11:02 AM, Mike Schrag wrote: > for the update case, i was thinking just use the same qualifier with a > refreshesRefetchedObjects on a fetch spec .... i think that won't refresh > deleted objects, though, so I'm not sure the best way to do the delete case. > if the objects were fetched into the eo already, then refreshAllObjects might > do it. > > On Feb 7, 2010, at 10:59 AM, Kieran Kelleher wrote: > >> Off the top of my head, I would think something like this: >> >> ec.setFetchTimestamp( System.currentTimeMillis() ); >> ec.refreshAllObjects(); >> >> >> >> >> On Feb 7, 2010, at 1:06 AM, Shravan Kumar. M wrote: >> >>> Hello Group, >>> >>> Is there any efficient way to refresh EOEditingContext after call to >>> ERXEOAccessUtilities.updateRowsDescribedByQualifier()/ >>> ERXEOAccessUtilities.deleteRowsDescribedByQualifier() API's, such that only >>> the effected EO's in the EC gets updated as per these actions? >>> >>> Thanks in advance, >>> Shravan Kumar. M >>> --------------------------- >>> >>> __________________________________________________ >>> Do You Yahoo!? >>> Tired of spam? Yahoo! Mail has the best spam protection around >>> http://mail.yahoo.com _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected]) >>> Help/Unsubscribe/Update your Subscription: >>> http://lists.apple.com/mailman/options/webobjects-dev/kieran_lists%40mac.com >>> >>> This email sent to [email protected] >> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected]) >> Help/Unsubscribe/Update your Subscription: >> http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com >> >> This email sent to [email protected] >
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
