EXTEND ERXDatabaseContextDelegate ... don't replace it. Or use Chuck's multidelegate thing.

On Aug 8, 2007, at 1:51 PM, Miguel Arroz wrote:

Hi!

  Ok, here goes another one.

I need to change some objects in a context, and saveChanges. saveChanges may, or may not fail, depending on OL failures. Nothing new so far.

The problem is that I need to delete a lot of objects, possibility thousands or tens of thousands. As I can't do this in the regular way (too slow), I need to use Wonder feature that deletes all the objects according to a given fetch spec (I assume this function exists somewhere, although I can't find it right now).

My question is: can I do the Wonder DELETE command in the same database transaction as the editing context save changes one? How? If I can't the DB will be inconsistent for some moments, and that may cause chaos.

  Yours

Miguel Arroz

Miguel Arroz
http://www.terminalapp.net
http://www.ipragma.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/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]

Reply via email to