You are viewing a plain text version of this content. The canonical link for it is here.
Posted to ojb-user@db.apache.org by Wei Guan <wg...@bea.com> on 2003/01/19 00:34:05 UTC

unexpected token: DESC

Here is my code:
OQLQuery query = odmg.newOQLQuery();

query.create( "select allObjects from " + LaborLevelDef.class.getName() +  " order by " + sortID + " DESC"));

I got this error: line 1: unexpected token: DESC.

Any help is highly appreciated.

Wei Guan