ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Nicholoz Koka Kiknadze" <kikna...@gmail.com>
Subject Re: Using Operators in Compare Value in Ibatis Result maps
Date Tue, 11 Nov 2008 10:35:21 GMT
Look into the sqlmaps guide.  There are condidtions like

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

On Tue, Nov 11, 2008 at 1:37 AM, Mehak <mehak.kapoor@hewitt.com> 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.
>
>

Mime
View raw message