Yet another concurrency question
Yet another concurrency question
- Subject: Yet another concurrency question
- From: Miguel Arroz <email@hidden>
- Date: Wed, 8 Aug 2007 18:51:34 +0100
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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden