Look into the sqlmaps guide.  There are condidtions like

<isGreaterThen>
<isGreaterEqual>
<isLessThen>
<isLessEqual>

On Tue, Nov 11, 2008 at 1:37 AM, Mehak <[EMAIL PROTECTED]> wrote:

>
> Hi
> Please help me with this simpl problem regarding using operators in compare
> value.
> I have a condition something like:
>    lastUpdatedDate > givenTime, then do this.
>    lastUpdatedDate < givenTime, then do this.
>    lastUpdatedDate <= givenTime, then do this.
> To achieve this I have the following data ready:
> <isEqual property="operator" compareValue=">">
>  TIMESTAMP( #checkValue# ,'00.00.00') + 1 DAY
> </isEqual>
> Now how to use < and <= operator in this as it does not accept something
> like:
> <isEqual property="operator" compareValue="<">
>  TIMESTAMP( #checkValue# ,'00.00.00') + 1 DAY
> </isEqual>
>
> Please guide urgently. I would be very thnakful to you.
> Thanks
> --
> View this message in context:
> http://www.nabble.com/Using-Operators-in-Compare-Value-in-Ibatis-Result-maps-tp20434297p20434297.html
> Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
>
>

Reply via email to