Instead of this : <finder-query><![CDATA[(= name $0 && = address
$1)]]></finder-query>
Try : <finder-query><![CDATA[& (= name $0) (= address
$1)]]></finder-query>
notation : operator operand1 operand2
Neelu Mehta <[EMAIL PROTECTED]>@www.javasoft.com> on 08/01/97 11:05:15 PM
Please respond to A mailing list for Enterprise JavaBeans development
<[EMAIL PROTECTED]>
Sent by: A mailing list for Enterprise JavaBeans development
<[EMAIL PROTECTED]>
To: [EMAIL PROTECTED]
cc:
Subject: finder query in weblogic 5.1
Hi
can any of you please tell me how to mention the finder function's finder
query in weblogoc 5.1.As finder query is specified in
weblogic-cmp-rdbms-jar.xml.My problem is that how I will specified two or
more Creterias in a single query like
if I want to search by the name and address together.
I used like this
<finder>
<method-name>findBigAccounts</method-name>
<method-params>
<method-param>double</method-param>
</method-params>
<finder-query><![CDATA[(= name $0 && = address
$1)]]></finder-query>
</finder>
But it didn't work.
thanx in advance ....
Neelu
===========================================================================
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".