or if you know the scope of the changes, it would be better to refetch them with refreshOnRefetch set to true ... less invasive than "all" ... definitely avoid invalidate if you can.

ms

On May 28, 2009, at 1:12 PM, Wooddall-Gainey, David wrote:

Hi,
I have several stored procedures executed using EOUtilities as follows:

EOUtilities.executeStoredProcedureNamed(ec,"sf07UpdArData", args);

These procedures update most rows in most tables.

I assumed I had to either invalidateAllObjects in the ec or refreshAllObjects after the procedures run, then saveChanges to make the updates known in the ec.

Is this correct?

                Thank you.

David Wooddall-Gainey
AHNR-IT
540-231-5730
dav...@vt.edu
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      (Webobjects-dev@lists.apple.com)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/mschrag%40mdimension.com

This email sent to msch...@mdimension.com

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

This email sent to arch...@mail-archive.com

Reply via email to