• 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: <relationship fault: 0x4ee6830 ...>
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: <relationship fault: 0x4ee6830 ...>


  • Subject: Re: <relationship fault: 0x4ee6830 ...>
  • From: Kaspar Fischer <email@hidden>
  • Date: Sat, 6 Aug 2005 10:27:44 +0200


On 06.08.2005, at 01:24, Charilaos Skiadas wrote:
On Aug 5, 2005, at 5:08 PM, Kaspar Fischer wrote:

Yes, I was just asking because I thought that when you load
from an XML file, then *everything* is loaded anyway and so
there will (and cannot) be any faults.  If this is true, then
there must be something wrong in my application because I
load from an XML file and *do* get faults.

Sorry, I misunderstood your question. Where is this mentioned in the docs?

Haris

I could not find it in the docs, but it was mentioned on this lists:

Begin forwarded message:
From: mmalcolm crawford <email@hidden>
Date: 29. April 2005 23:16:18 GMT+02:00
To: cocoadev Users <email@hidden>
Subject: Re: Saving Images with Core Data (i.e., JPEG, TIFF, etc.)
[...]

Faulting only applies to relationships (so in your example comments will be loaded along with the other attributes on fetch), and is only really relevant if you use a SQLite store since it can fetch data on an as-needed basis. The other stores -- XML and binary -- both load the whole persistent store into memory when they're accessed.

mmalc

Thanks, Kaspar

P.S. So I guess the answer to my original question is: it is okay
to see "<relationship fault: 0x4ee6830 ...>" in NSLog(@"%@",...)'s
when working with a Core-Data object tree loaded from an XML file.

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 ><relationship fault: 0x4ee6830 ...> (From: Kaspar Fischer <email@hidden>)
 >Re: <relationship fault: 0x4ee6830 ...> (From: Charilaos Skiadas <email@hidden>)

  • Prev by Date: Bindings, Tables: when are add requests satisfied?
  • Next by Date: Word count and nextWordFromIndex:forward: - not good?
  • Previous by thread: Re: <relationship fault: 0x4ee6830 ...>
  • Next by thread: Re: <relationship fault: 0x4ee6830 ...>
  • Index(es):
    • Date
    • Thread