Hi Kashif
You can also replace all the BasePeer.doSelect() methods in your Base*
classes with BasePeer.doPSSelect(). This lets the select statement be
executed as a prepared statement which solved the problem of dates. I'm
planning to do some work on Torque in the next couple of weeks. Adding this
to the properties & documentation is on my TODO list.
~ Leon
----- Original Message -----
From: "kashif zaman" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, July 25, 2001 3:54 PM
Subject: Criteria
> Hi all !
> I want to know about the relational operators in the Criteria.
> I want to use to select the date less than current date and i used the
> following statements.
>
> Criteria criteria = new Criteria();
> criteria.add(key,value(Sysdate),criteria.LESS_THAN);
> ClassPeer.doSelect(criteria);
>
> But i don't get the result.
> if someone have the answer of that prob then help me as soon as possible.
>
> thanx
>
> _________________________________________________________________
> Get your FREE download of MSN Explorer at http://explorer.msn.com/intl.asp
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]