Thank you Bruce.
At 18.48 03/08/2004, you wrote:
Antonio Capani wrote:
suppose to have an object of class C which holds a field containing a
collection of strings (e.g. o.strings).
Is it possible to select the objects of C that *contain* a given value
(e.g. "antonio").
Something like:
select o from C o where o.strings CONTAINS "antonio"
I know that CONTAINS is not a keyword of Castor OQL but I wonder if and
how I can write a query with that semantics.
Thank you very much for your help.
Antoni,
Currently there is no support for this in Castor's OQL engine. I've been
hoping to redesign the entire query engine at some point so that adding
support for these types of things is easy. Unfortunately other higher
priority items have trumped that work so far.
Bruce
--
perl -e 'print
unpack("u30","<0G)[EMAIL PROTECTED]&5R\\"F9E<G)E=\\$\\!F<FEI+F-O;0\\`\\`");'
The Castor Project
http://www.castor.org/
Apache Geronimo
http://incubator.apache.org/projects/geronimo.html
-----------------------------------------------------------
If you wish to unsubscribe from this mailing, send mail to
[EMAIL PROTECTED] with a subject of:
unsubscribe castor-user