Re: Can I have Editing context managed my objects that returned from raw-row SQL?
Re: Can I have Editing context managed my objects that returned from raw-row SQL?
- Subject: Re: Can I have Editing context managed my objects that returned from raw-row SQL?
- From: Art Isbell <email@hidden>
- Date: Wed, 19 Feb 2003 16:34:05 -1000
On Wednesday, February 19, 2003, at 04:03 PM, Tom M. wrote:
I used SQL to get my data from database in the form of
raw row (NSDictionary object). Then I create EO
objects from raw rows returned above?
How can I have Editing Context manage my objects, mean
that I can transver relationship..., and use the
benefits of EOF.
Send faultForRawRow() to your editing context. This will create a
fault in your editing context which will result in a refetch of the
data when the fault fires. So rather than this double fetch, why not
fetch your object into an editing context directly without using SQL?
Art
http://homepage.mac.com/aisbell/
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.