Hi Ankit I tried using <isEqual property="conditionList[].operator" compareValue="is"><![CDATA["<"]]> >= TIMESTAMP( #conditionList[].checkValue# ,'00.00.00') + 1 DAY </isEqual> It did not produce a sntax error but failed to excute. When we say compareValue="is", then it compares "conditionList[].operator" with value "is" and not with what is mentioned in <![CDATA["<"]]>. What we need here would be how can Ibatis accept < operator inside its own isEqual tags?
Please help mw with this one. thanks ankit.khujneri wrote: > > Try this <isEqual property="conditionList[].operator" > compareValue="is"><![CDATA["<"]]> TIMESTAMP( #conditionList[].checkValue# > ,'00.00.00') .. > -----Original Message----- > From: Mehak [mailto:[EMAIL PROTECTED] > Sent: Tuesday, November 11, 2008 12:07 PM > To: [email protected] > Subject: Using Operators in Compare Value in Ibatis Result maps > > > 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. > > > Please do not print this email unless it is absolutely necessary. > > The information contained in this electronic message and any attachments > to this message are intended for the exclusive use of the addressee(s) and > may contain proprietary, confidential or privileged information. If you > are not the intended recipient, you should not disseminate, distribute or > copy this e-mail. Please notify the sender immediately and destroy all > copies of this message and any attachments. > > WARNING: Computer viruses can be transmitted via email. The recipient > should check this email and any attachments for the presence of viruses. > The company accepts no liability for any damage caused by any virus > transmitted by this email. > > www.wipro.com > > -- View this message in context: http://www.nabble.com/Using-Operators-in-Compare-Value-in-Ibatis-Result-maps-tp20434297p20456903.html Sent from the iBATIS - User - Java mailing list archive at Nabble.com.
