Is there an example of writing a WebLogic CMP EJB that has a user-defined finder method with multiple parameters?
Created May 4, 2012
uttara donde For Weblogic 5.1 the finder method is written as follows:
findByAccount(String str,String str1)
For the above finder method we write in the deployment descriptor:
<finder>
<method-name>findByAccount</method-name>
<method-params>
<method-param>java.lang.String
</method-param>
<method-param>java.lang.String
</method-param>
</method-params>
<finder-query>< ! [CDATA[(& (= name $0) (= address $1))]]>
</finder-query>
</finder>