On 22.04.2007, at 11:39, Steven Mark McCraw wrote:
My understanding regarding ERXEC is the same as yours, and even reading through the Project Wonder code, I get the strong impression that it should work everywhere. But if I comment out my locking code and add the following to my application constructor:
NSLog.allowDebugLoggingForGroups(NSLog.DebugGroupEnterpriseObjects |
NSLog.DebugGroupMultithreading);
I get output everywhere that I am using an editing context without a lock. So I'm a little afraid to leave it that way.
Sorry to say that, but than still something seems to be screwed up in your environment. I'm not saying that you're doing something wrong as I really don't know that, but I found that the Wonder (ERXEC) locking stuff and also nested editing contexts "just work" in about two dozen applications we are using with that.
Nevertheless, I still think you're abusing something somewhere just because of the fact, that so many other people use Wonder, the locking stuff in there, nested editing context and so on without any problems.
And if I found a problem like the one you're seeing it was always a problem in my code so far.
cug