ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Chris McMahon <cochran...@hotmail.com>
Subject isPropertyAvailable
Date Sat, 24 Nov 2007 02:31:57 GMT



Does <isPropertyAvailable> work with <select
parameterClass="java.util.Map"> and null values?  I expected that if
I set a property to null in a HashMap, that <isPropertyAvailable>
would be true for that property, because the key is in the map even if
the value is null.   But instead <isPropertyAvailable> is false
for this scenario.  Is this the expected behavior?  If so, then how is
<isPropertyAvailable> different than <isNull>.  Am I
misunderstanding it's use?

Thanks.


_________________________________________________________________
Put your friends on the big screen with Windows Vista® + Windows Live™.
http://www.microsoft.com/windows/shop/specialoffers.mspx?ocid=TXT_TAGLM_CPC_MediaCtr_bigscreen_102007
Mime
View raw message