Hello,

I try to get a max-value from a table using oql. But everytime I got a
failure!

Only one oql-statement using the count-Expression is running: 

        myDB.getOQLQuery("select count(*) from XXX.Auto");

Using the max-Expressing the following failure occurs:

        myDB.getOQLQuery("max(select autoID from XXX.Auto)");

org.exolab.castor.jdo.oql.OQLSyntaxException: An incorrect token type was
found near max (53, need 1

Can anybody help me with an example?

Any idea?

Thanks, Heiko

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

Reply via email to