发布EntityBean出现下列问题????

lailailai 04-06-30

org.jboss.deployment.DeploymentException: Error compiling EJB-QL statement 'SELE
CT OBJECT(a) FROM ProductBean AS a WHERE productID = ?1'; - nested throwable: (
org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "ProductBean" at lin
e 1, column 23.
Was expecting one of:
"IN" ...
<ABSTRACT_SCHEMA> ...


我编写的其中一个EJB-QL为:<ejb-ql><![CDATA[SELECT OBJECT(a) FROM ProductBean AS a WHERE name = ?1]]></ejb-ql>