But then how you can do this in CMP bean as the code is generated by
deployment tools. The problem in this case is how to tell the container to
do case insensitive search.
> ----------
> From: Albert[SMTP:[EMAIL PROTECTED]]
> Reply To: A mailing list for Enterprise JavaBeans development
> Sent: Tuesday, August 01, 2000 1:37 PM
> To: [EMAIL PROTECTED]
> Subject: Re: query finder methods
>
> Try to convert both of them to upper-case then compare.
>
> Albert
>
> -----Original Message-----
> From: A mailing list for Enterprise JavaBeans development
> [mailto:[EMAIL PROTECTED]]On Behalf Of Arvind Goel
> Sent: Tuesday, August 01, 2000 3:18 PM
> To: [EMAIL PROTECTED]
> Subject: query finder methods
>
>
> Hi all
>
> I want to make a case insensitive search on my table. I am using container
> managed bean and writing xml for deployment descriptor.
>
> Here is the finder block from my xml file :
>
> <finder>
> <method-name>findUserID</method-name>
> <method-params>
> <method-param>java.lang.String</method-param>
> </method-params>
> <finder-query><![CDATA[(=hUserId $0)]]></finder-query>
> </finder>
>
> Here I want "hUserId" and "$0" should be compared with cases ignored.
>
> Please suggest me how to achieve this.
>
> Arvind
>
> ==========================================================================
> =
> 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".
>
>
>
Visit http://www.NetVarsity.com for online learning
===========================================================================
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".