It's all about the answers!

Ask a question

Does the query model support complicated searching??


Qiong Feng Huang (76911610) | asked Jan 08 '09, 10:17 a.m.
JAZZ DEVELOPER
We have a very complicated model. The model is saved in Jazz repository(database). The auto generated code include some query model. My question is do these query model support complicated searching?
For example,item A refer to item B, item B refer to item C, item C refer to item D. I want to search item D with the name attribute. And the results should also include all it's parent(item C, B and A). This is just like a tree searching. I want to use one query to get all the elements(D, C, B, A). Is that possible??

And, one more question: where can I find the development guidance about Jazz/RTC, such as how to use query model.

One answer



permanent link
Daniel Kogan (51) | answered Jan 08 '09, 10:49 a.m.
Some of the documentation is here:
- https://jazz.net/wiki/bin/view/Main/QueryDevGuide
- https://jazz.net/learn/LearnItem.jsp?href=content/docs/client-library-programming/index.html
- https://jazz.net/wiki/bin/view/Main/ComponentDevelopment
- https://jazz.net/wiki/bin/view/Main/JazzTalkWalkthrough

In order to get the results of multi-table join (especially with tree and/or graph-like structure) all the relationships needs to be encoded in the EMF model. Then you can fetch the parent object with handles to children and recurse that until you fetch all elements on all levels.

Dan Kogan
Jazz Server team
We have a very complicated model. The model is saved in Jazz repository(database). The auto generated code include some query model. My question is do these query model support complicated searching?
For example,item A refer to item B, item B refer to item C, item C refer to item D. I want to search item D with the name attribute. And the results should also include all it's parent(item C, B and A). This is just like a tree searching. I want to use one query to get all the elements(D, C, B, A). Is that possible??

And, one more question: where can I find the development guidance about Jazz/RTC, such as how to use query model.

Your answer


Register or to post your answer.


Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.