Re: Snapshot problems - Solved, sort of
Re: Snapshot problems - Solved, sort of
- Subject: Re: Snapshot problems - Solved, sort of
- From: Guido Neitzer <email@hidden>
- Date: Sun, 22 Apr 2007 12:23:31 -0600
On 22.04.2007, at 12:08, Steven Mark McCraw wrote:
Thanks for the feedback. It helps to know that other people are
able to get this to work as advertised. Regarding "it was always a
problem in my code so far", do you remember what kinds of problems
in your code led to problems like the one I'm having? Maybe I'm
doing the same thing.
I had these problems with improper locking. Somewhere I used an
EOEditingContext instead of an ERXEC and so on.
Mike Schrag wrote earlier in this thread that you have to
explicitly turn on locking in project wonder. To my knowledge I am
not doing this. How do you go about that? I will give that a try
and see what happens.
In ERExtensions in the Properties file you'll find:
########################################################################
#
# ERXEC
########################################################################
#
## decides if new ECs use the shared editing context
# er.extensions.ERXEC.useSharedEditingContext=true
## Specifies if new ECs should lock/unlock automatically. Use with
care...
# er.extensions.ERXEC.defaultAutomaticLockUnlock = true
And:
########################################################################
#
# ERXApplication
########################################################################
#
## decides if locked editing contexts should be unlocked after the RR-
loop.
## If you use D2W, it is *strongly* recommended to enable this feature!
# er.extensions.ERXApplication.useEditingContextUnlocker=false
## When true, ERXEC's will generate a stack trace when lock is called
that
## can later be accessed via .openLockTrace() or the
showOpenEditingContextLockTraces
## ERXDirectAction. Defaults to false.
# er.extensions.ERXApplication.traceOpenEditingContextLocks = true
There is also a setting for "coalesce locking", youll find it
somewhere mentioned by Mike. I don't know at the moment what the
exact setting is.
cug
_______________________________________________
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