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: Brent Shank <email@hidden>
- Date: Wed, 19 Feb 2003 18:37:20 -0800
If you want the full benefits of EOF, you need to "promote" your raw
rows to real enterprise objects. You can do this with the method
faultForRawRow on EOEditingContext. Just make sure to promote all the
raw rows into the same editing context so you can traverse
relationships between them.
Raw rows are discussed a bit here:
http://developer.apple.com/techpubs/webobjects/Enterprise_Objects/
Fetching/chapter_6_section_22.html
Brent
On Wednesday, February 19, 2003, at 6:03PM, Tom M. wrote:
Hi all,
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.
Thanks for reading.
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com
_______________________________________________
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.
_______________________________________________
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.