This one time, at band camp, Jose Rodriguez said:
JR>I try to use last() in a query.
JR>
JR>But I have the following exception:
JR>javax.ejb.EJBException: Transaction failed due to Exception: An incorrect token
type was found near last (2, need 1
JR>....
JR>
JR>My query is : "last( select p from Product p where p.id > $1 )"
JR>
JR>
JR>Where is the problem?
Jose,
There is a list of Phases for Castor's OQL support here:
http://castor.exolab.org/oql.html#Type-and-validity-checking
The first entry in the list indicates that post-processing of queries
will be provided in Phase 5. Castor's OQL development is only at
Phase 3.
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