Wrox Home  
Search P2P Archive for: Go

  Return to Index  

pro_java thread: Using BETWEEN or <> in finder methods for finding range of data in weblogic 4.5.1


Message #1 by "Rahul" <rahul_bhardwaj@n...> on Sat, 22 Dec 2001 19:00:15 +0530
Hi

I am facing problems when I try to call the following finder method:

 public Enumeration findByCustomerDateRange(java.sql.Date pdtInitialDate,
java.sql.Date pdtFinalDate, String pstrCustomer)
 throws FinderException,RemoteException;

the finder signature and expression for the above method are:
      <FINDER>
       <SIGNATURE>findByCustomerDateRange(java.sql.Date pdtInitialDate,
java.sql.Date pdtFinalDate, String pstrBaseNo)</SIGNATURE>
       <EXPRESSION>(orderBy 'EB_DATE' (& (& (> dtDate $pdtInitialDate) (<
dtDate $pdtFinalDate)) (= strCustomer $pstrCustomer)))</EXPRESSION>
      </FINDER>


I am using weblogic 4.5.1 and using Visual Cafe 3.0 for deploying the beans.

Can you guys please tell me whether there is any way of using cmp's with
finder methods for finding data between range of column values.


Regards
Rahul


  Return to Index