Re: Raw Rows and Locking
Mark Ritchie <[email protected]>
| Newsgroups | gmane.comp.web.webobjects.devel |
|---|---|
| Message-ID | <[email protected]> |
On 29-Jun-07, at 3:00 AM, Cornelius Jaeger wrote: > I have a raw row fetch which fetches about 100000 records in a > separate ec. > some of these i pass on to another process which has it's own ec > (ec2) in which i instantiate an eo from the raw row in the ec2. > since these are dicts do i need to pass them to the ec2 first? It's been a while since I've done this but if I remember correctly, the correct procedure is to register the dictionary as a snapshot at the EOAdaptor level and then fault the EO into the second EditingContext. That will ensure that it's registered and that locking will work properly if/when you update the EO. Good luck! Mark __ Mark Ritchie Cocoa and WebObjects Developer Diamond Lake Consulting Inc. Toronto, Ontario, Canada _______________________________________________ WebObjects-dev mailing list [email protected] http://www.omnigroup.com/mailman/listinfo/webobjects-dev