• 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
Help on big relationship
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Help on big relationship


  • Subject: Help on big relationship
  • From: Kieran Kelleher <email@hidden>
  • Date: Fri, 12 May 2006 16:11:15 -0400

OK, I've seen how to deal with this in the past somewhere on a WWDC video or something, but for the life of me I cannot find the approach right now and I am under the crunch to get this done.

I have DataList objects with up to a million related DataRecord objects. DataList and DataRecord are related in a many-to-many join. Usually a DataRecord belongs to no more than 50 DataLists.

So regular dataList.dataRecords() obviously crashes my app when huge amount of data records in the relationship.

Am I understanding correctly in saying that fetching my one DataList with a million related DataRecords will create a million "faults"?

What is the strategy here?

Is it:
- turn off the dataRecords class property visibility (diamond icon)?
- kill the relationship to dataRecords in the DataList entity and work with qualifiers, fetchspecs and raw rows to grab dataRecords as needed? How does this affect creating relationships .... just always add the DataList to the DataRecord's dataLists relationship?


Any best practice tips, pointers or links to same would be appreciated.

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


  • Follow-Ups:
    • Re: Help on big relationship
      • From: Wolfram Stebel <email@hidden>
    • Sample code wanted...
      • From: "Randy Wigginton" <email@hidden>
    • Re: Help on big relationship
      • From: Ken Anderson <email@hidden>
  • Prev by Date: Re: WebSphere connection pool and deadlock - HELP!
  • Next by Date: Re: Help on big relationship
  • Previous by thread: Re: EOModeler on Windows XP problem
  • Next by thread: Re: Help on big relationship
  • Index(es):
    • Date
    • Thread