Deep hierarchical search
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