Can anyone point out what must be quite obvious:

This is an error message from the console concerning the failure to
parse a query. What's wrong with the query? Note that there is a CMP
field called 'location'. with a getter and a setter. The problem seems
to be syntactic..?

...
Caused by: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement

 'SELECT OBJECT(c) FROM ControlLogix AS c WHERE c.location = ?1'; - 

nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered 
"c.location" at line 1, column 49.

Was expecting one of:
    "NOT" ...
    "(" ...
    <COLLECTION_VALUED_PATH> ...
    <STRING_VALUED_PATH> ...
    "CONCAT" ...
    "SUBSTRING" ...
    <BOOLEAN_VALUED_PATH> ...
    <DATETIME_VALUED_PATH> ...
    <ENTITY_VALUED_PATH> ...
    <IDENTIFICATION_VARIABLE> ...
    <NUMERIC_VALUED_PATH> ...
    "LENGTH" ...
    "LOCATE" ...
    "ABS" ...
    "SQRT" ...
    "MOD" ...


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852996#3852996

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852996


-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to