• 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: 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.

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

  • Prev by Date: Re: Do any manuals come with WO?
  • 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: Re: Can I have Editing context managed my objects that returned from raw-row SQL?
  • Index(es):
    • Date
    • Thread