Yes
Sent from my iPhone On Feb 8, 2010, at 12:04 AM, "Shravan Kumar. M"< email@hidden> wrote: Thanks for your suggestion Mike. Sorry, I did not get your statement: do you mean after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier(), should I immediately call EOFetchSpec with fetchSpec.setRefreshesRefetchedObject(true) and with same qual used in updateRowsDescribedByQualifier()? From: Mike Schrag <email@hidden> To: Kieran Kelleher <email@hidden> Cc: Shravan Kumar. M <email@hidden>; WO Dev Group <email@hidden> Sent: Sun, February 7, 2010 9:32:38 PM Subject: Re: refresh EC after call to ERXEOAccessUtilities.updateRowsDescribedByQualifier()?
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();
|