Hi Shiva,

why not only returning 'p' which holds the properties 'a', 'b' and 'd'. Your OQL for this should be:

SELECT p FROM com.scif.test.Table1 p WHERE p.a=$1

Having said that castor's OQL not supports to return multiple values at the moment.

Regards
Ralf


Shiva P. Kodityala schrieb:

"SELECT p.a , p.b , p.d FROM com.scif.test.Table1 p WHERE a=$1"

Is there anything wrong with the query?

Getting error:
org.exolab.castor.jdo.oql.OQLSyntaxException: An incorrect token type was found
near , (found COMMA, but expected KEYWORD_FROM)

Can I not select more than one value? Is there any other way to doit?

Thanks

-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------



-------------------------------------------------
If you wish to unsubscribe from this list, please send an empty message to the following address:

[EMAIL PROTECTED]
-------------------------------------------------

Reply via email to