Re: What's a good way to handle orders?
Re: What's a good way to handle orders?
- Subject: Re: What's a good way to handle orders?
- From: Guido Neitzer <email@hidden>
- Date: Wed, 9 Jan 2008 23:15:13 -0700
On 09.01.2008, at 20:37, Kevin Windham wrote:
This seems to work quite well. It wasn't quite as easy as it sounded
though. I had some interesting errors at first until I read a bit
and found out that you have to copy all the objects you want to use
into the new EC. My initial attempts at that were failures as well.
The documentation was a little confusing, but I found a web page
that explained how to copy objects into other ECs. <http://developer.apple.com/documentation/WebObjects/Reference/WO53_Reference/com/webobjects/eocontrol/concepts/EOEditingContextConcepts.html
>
Now things seem pretty straightforward.
One more thing: make sure you lock your non-default editingContexts.
Either use Wonder's ERXEC or MultiECLockManager.
And this is NOT optional ... ;-)
cug
--
http://www.event-s.net
_______________________________________________
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