I am trying to do something similar:
SELECT a Asset a WHERE a.siteId.id IN LIST( 1,2366)
But I'm getting this exception:
org.exolab.castor.jdo.oql.OQLSyntaxException: An incorrect token type was
found near com (2, need 5
at org.exolab.castor.jdo.oql.Parser.match(Parser.java:144)
at org.exolab.castor.jdo.oql.Parser.fromClause(Parser.java:214)
at org.exolab.castor.jdo.oql.Parser.getParseTree(Parser.java:92)
at
org.exolab.castor.jdo.engine.OQLQueryImpl.create(OQLQueryImpl.java:268)
at
org.exolab.castor.jdo.engine.DatabaseImpl.getOQLQuery(DatabaseImpl.java:439)
Can anyone help me out here?
Thanks a bunch!
Margaret Martin
-----Original Message-----
From: Bruce Snyder [mailto:[EMAIL PROTECTED]]
Sent: Tuesday, April 16, 2002 12:39 AM
To: [EMAIL PROTECTED]
Subject: Re: [castor-dev] OQL - Projection question - PLEASE HELP!!
This one time, at band camp, Matthew Clark said:
MC>How do I select a sub-set of data (similar to SQL LIMIT 0,20 statement)
Matthew,
Please see http://www.mail-archive.com/[email protected]/msg02098.html
Bruce
--
perl -e 'print
unpack("u30","<0G)U8V4\@4VYY9&5R\"F9E<G)E=\$\!F<FEI+F-O;0\`\`");'
-----------------------------------------------------------
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