> There aren't  any consoles that I know of Thomas.
I mean a little program where I can perform queries. I found it under
org.exolab.castor.gui.QueryAnalyser.

> As far as the samples.  There are some included with the download - but
> they do have some problems.
> If you do have problems post something and someone will generally answer
> within a day.

Okay, I try:

I've one Class Product with a reference called attrubuteList to objects of
class Attribute. Attribute has 2 fields: name and value. Now I want so
"select" all products which have an attribute with the name "length" and the
value "100".
I tried this with the following query but then mentioned that this is
possible with "phase 4" of OQL. BTW: When will "phase 4" been implemented?

"SELECT p FROM product p WHERE EXISTS a IN attributeList : a.name = 'length'
AND a.value = '100'"

How to change the query, that it works with castor?

Thank you very much,
Thomas

----------------------------------------------------------- 
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
        unsubscribe castor-dev

Reply via email to