Hallo,

in my ejb-jar.xml I defined:

<query>
<query-method>
<method-name>findByName</method-name>
<method-params>
<method-param>java.lang.String</method-param>
</method-params>
</query-method>
<ejb-ql><![CDATA[SELECT OBJECT(o) FROM firm o WHERE o.name = ?1]]></ejb-ql>
</query>

After start JBoss I get this error:

Was expecting one of:
"IN" ...
<ABSTRACT_SCHEMA> ...
)]

My Table hat firm_id as PK (NUMERIC(20)) and name (VARCHAR(40)). I don't understand, why should I use IN in my EJB QL?


Rafal



-------------------------------------------------------
This SF.NET email is sponsored by:
SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See!
http://www.vasoftware.com
_______________________________________________
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to