ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sprang <joelnew...@gmail.com>
Subject isEqual compareProperty
Date Thu, 30 Aug 2007 10:21:21 GMT

I have an object that contains a Boolean property.  This is either true,
false or null

<isEqual compareProperty="topVacancy" compareValue="true">
  top_vacancy = 'Y',

If the value of the topVacancy property was true, I would expect the above
to put a Y in top_vacancy column.

This does not seem to be working.  I am 100% sure that the property is true
(checked in breakpoints)

Is there a problem with comparing Booleans? I would expect it to have called
the toString() method...

I am using ibatis-

View this message in context: http://www.nabble.com/isEqual-compareProperty-tf4353239.html#a12404247
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message