• 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
Deep hierarchical search
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Deep hierarchical search


  • Subject: Deep hierarchical search
  • From: Klaus Berkling <email@hidden>
  • Date: Thu, 20 Sep 2007 18:40:53 -0700

I hope someone has thoughts on performing a search through a hierarchical data model.

I have a WO application that receives, stores and retrieves student study information. More here:
http://www.dyned.com/products/internetrm.shtml


In my model I have a group entity which have sub-groups via one-to- many relationship back to itself. These groups then have classes with students. There is a class entity with many-to-many relationships to the student entity. A student can be in more then one class.

There is a search I need to implement that returns matching groups, classes and students within a givem parent group.
I can reach all the objects through relationships so starting with a parent group I can walk through all the sub-groups, classes and students arrays. This is time consuming.


I'm trying to think of a fetch specification that avoids some of the recursive looping I do now.

Any thoughts? Many thanks in advanced.

kib

"Success is not final, failure is not fatal: it is the courage to continue that counts.”
- Winston Churchill
--
Klaus Berkling
Systems Administrator
DynEd International, Inc.
www.dyned.com | web.mac.com/kib




Attachment: smime.p7s
Description: S/MIME cryptographic signature

 _______________________________________________
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: Deep hierarchical search
      • From: Mike Schrag <email@hidden>
    • Re: Deep hierarchical search
      • From: Alexander Spohr <email@hidden>
    • Re: Deep hierarchical search
      • From: Lachlan Deck <email@hidden>
  • Prev by Date: Re: values from request question
  • Next by Date: RE: Invoking a component with arguments in WOD
  • Previous by thread: Re: Strange Behavior with EOModelGroup
  • Next by thread: Re: Deep hierarchical search
  • Index(es):
    • Date
    • Thread