Hi,
Can
any one tell me whats wrong with the following EJB-QL
<query>
<query-method>
<method-name>findUser</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql><![CDATA[Select OBJECT(o) from User AS o where o.userId=?1]]></ejb-ql>
</query>
<query-method>
<method-name>findUser</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql><![CDATA[Select OBJECT(o) from User AS o where o.userId=?1]]></ejb-ql>
</query>
It is
giving me the following error
org.jboss.deployment.DeploymentException: Error compiling ejbql; - nested
throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "1" at
line 1, column 48.
What is wrong???
I'm running jboss3.06.
./Jan