Board index » jbuilder » Error compiling 'Order By' in EJBQL
Peter Vennel
![]() JBuilder Developer |
Error compiling 'Order By' in EJBQL2004-02-11 03:49:38 AM jbuilder10 Hi, As per EJB 2.1 specs, the ordering clause is 'ORDER BY'. But when I use that, JBuilder gives me the following error. But if I join both the words to 'OrderBy' then it works fine. Am I missing out something here ??? I am using JBuilder Enterprise ver X. Thanks. Peter Error Trace for 'Order By' -------------------------- EJBQL : "select object(e) from Enrollments e order by e.enrollmentId" "FirstQLEJBModule.jar": [J2EE:160121]Errors encountered while compiling module 'D:\MyProjects\FirstQL\FirstQLEJBModule.jar.jar': "FirstQLEJBModule.jar": [EJB:011017]Error while reading 'META-INF/weblogic-cmp-rdbms-jar.xml'. The error was: "FirstQLEJBModule.jar": "FirstQLEJBModule.jar": Query: "FirstQLEJBModule.jar": EJB Name: Enrollments "FirstQLEJBModule.jar": Method Name: findAllEnrollments "FirstQLEJBModule.jar": Parameter Types: () "FirstQLEJBModule.jar": select object(e) from Enrollments e =>>order <<= by e.enrollmentId "FirstQLEJBModule.jar": EJB QL Parser Error. "FirstQLEJBModule.jar": line 3:12: unexpected token: order "FirstQLEJBModule.jar": . |