try the following..

             <finder>
                    <method-name>findSiteByPlace</method-name>
                   <method-params>
                            <method-param>java.lang.String</method-param>
                   </method-params>
<finder-query><![CDATA[(like beanfield $0)]]></finder-query>
         </finder>

where $0 is the variable passed and beanfield is the onein the bean  which
corresponds to the table field to with which you are comparing...





>
> It has to perform an operation like
> select * from table where city = arg
>
> arg is the argument of my Finder funcn..
> city is the bean filed mapped to the corresponding column in DB..
>
> When it is executed it gives an error -
> "select ... ... .. .... . ... from table where city = ?" failed.....
>
>
> I'm using weblogic5.1 and sybase database
> I've check database also
>
> Thanks in Advance
> Neelu Mehta
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
>

===========================================================================
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff EJB-INTEREST".  For general help, send email to
[EMAIL PROTECTED] and include in the body of the message "help".

Reply via email to