Yet another concurrency question

2007-08-08 Thread Miguel Arroz
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

Re: Yet another concurrency question

2007-08-08 Thread Mike Schrag
You might be able to do it by overriding databaseContextWillPerformAdaptorOperations on a database context delegate and inject your own adaptor operations? I've never tried this but I think that will let you do what you want ... ms On Aug 8, 2007, at 1:51 PM, Miguel Arroz wrote: Hi!

Re: Yet another concurrency question

2007-08-08 Thread Mike Schrag
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 fa