SELECT OBJECT(m) FROM Message AS m
WHERE ( ?1 IS NULL)
At deploytime JBoss said:
Depends On Me: org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELECT OBJECT(m) FROM Message AS
m
WHERE ( ?1 IS NULL)'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "IS" at line 2, column
12.
Was expecting one of:
")" ...
"+" ...
"-" ...
"*" ...
"/" ...
"NOT" ...
"BETWEEN" ...
)]
I read the EJBQL-Reference but the grammar seems to allow something like that..
What's wrong??
In our own case, it turned out to be a "case-sensitive" schema name in the ejb.bean schema="..." tag of xdoclet.
Here is the thread that tipped us off.
Hopefully it will help.
http://www.jboss.org/modules/bb/index.html?module=bb&op=viewtopic&t=