• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can I have Editing context managed my objects that returned from raw-row SQL?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Can I have Editing context managed my objects that returned from raw-row SQL? (From: "Tom M." <email@hidden>)

  • Prev by Date: Re: Can I have Editing context managed my objects that returned from raw-row SQL?
  • Next by Date: Re: Can I have Editing context managed my objects that returned from raw-row SQL?
  • Previous by thread: Re: Can I have Editing context managed my objects that returned from raw-row SQL?
  • Next by thread: Do any manuals come with WO?
  • Index(es):
    • Date
    • Thread