Castor JDO does not support struct. The OQL implementation can only return
data object or simple type.


Thomas


-----Original Message-----
>From: gilles dodinet [mailto:[EMAIL PROTECTED]]
>Sent: Tuesday, September 04, 2001 4:31 AM
>To: [EMAIL PROTECTED]
>Subject: Re: [castor-dev] OQL Query
>
>hi thanks for your response.. although it doesnot work.. i got always this
>exception :
>
>org.exolab.castor.jdo.oql.OQLSyntaxException: An incorrect token type was
>found near , (45, need 5
>
>while executing this instruction :
>  ((OQLQuery)oqlQ).create("select c.name, c.age from Client c");
>
>thx though.
>
>
>
>>From: Rehor Petr <[EMAIL PROTECTED]>
>>Reply-To: [EMAIL PROTECTED]
>>To: [EMAIL PROTECTED]
>>Subject: Re: [castor-dev] OQL Query
>>Date: Tue, 4 Sep 2001 12:54:50 +0200
>>
>> > hi.. sorry if this question has been asked several times, but
>> > i wonder if
>> > this query is correct :
>> >   select struct{name: c.name, age: c.age} from c in Client ;
>>
>>struct is removed from OQL in castor - see
>>http://castor.exolab.org/oql.html
>>
>> > i got either an exception if i do something like that :
>> >   select c.name, c.age from c in Client ;
>>
>>Try: select c.name, c.age from Client c;
>>
>>Petr
>>
>>---------------------------------------------------------------------
>>DECROS s.r.o.          J.S.Baara 40, Eeske Budijovice, Czech Republic
>>Tel: +420-38-7312808   Fax: +420-38-7311480      http://www.decros.cz
>>
>>-----------------------------------------------------------
>>If you wish to unsubscribe from this mailing, send mail to
>>[EMAIL PROTECTED] with a subject of:
>>       unsubscribe castor-dev
>>
>
>
>_________________________________________________________________
>T�l�chargez MSN Explorer gratuitement � l'adresse
>http://explorer.msn.fr/intl.asp
>
>-----------------------------------------------------------
>If you wish to unsubscribe from this mailing, send mail to
>[EMAIL PROTECTED] with a subject of:
>        unsubscribe castor-dev
>

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

Reply via email to