This one time, at band camp, Thomas Louis said: TL>> There aren't any consoles that I know of Thomas. TL>I mean a little program where I can perform queries. I found it under TL>org.exolab.castor.gui.QueryAnalyser. TL> TL>> As far as the samples. There are some included with the download - but TL>> they do have some problems. TL>> If you do have problems post something and someone will generally answer TL>> within a day. TL> TL>Okay, I try: TL> TL>I've one Class Product with a reference called attrubuteList to objects of TL>class Attribute. Attribute has 2 fields: name and value. Now I want so TL>"select" all products which have an attribute with the name "length" and the TL>value "100". TL>I tried this with the following query but then mentioned that this is TL>possible with "phase 4" of OQL. BTW: When will "phase 4" been implemented? TL> TL>"SELECT p FROM product p WHERE EXISTS a IN attributeList : a.name = 'length' TL>AND a.value = '100'" TL> TL>How to change the query, that it works with castor?
Thomas, Exists is not yet implemented and I do not know when it will be implemented (see http://castor.exolab.org/oql.html). It seems that the nested attributes might work for this situation: http://castor.exolab.org/nested-attr.html Bruce -- perl -e 'print unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");' ----------------------------------------------------------- If you wish to unsubscribe from this mailing, send mail to [EMAIL PROTECTED] with a subject of: unsubscribe castor-dev
