This content has been marked as final.
Show 1 reply
-
1. Re: 'IN' in DynamicQL
timshaw Oct 5, 2004 11:53 AM (in response to timshaw)I tried to put the query into ejb-ql, to see if that worked (picks it up at deploy-time too, so it's quicker) ...
MBeanException: org.jboss.deployment.DeploymentException: Error compiling JBossQL statement 'SELECT OBJECT(o)
FROM CusOrderItemEJB o
WHERE o.productType = ?1 and o.cycle IN ( ?2 )'; - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "o.cycle IN" at line 3, column 52.
Was expecting one of:
"ABS" ...
"CONCAT" ...
"COUNT" ...
I get similar behaviour for both JDBCEJBQLCompiler and EJBQLToSQL92Compiler.
Please help!
Thanks
tim