ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Peter Martin <pmar...@adobe.com>
Subject Problem using nullValue in parameter map
Date Tue, 25 Sep 2007 12:00:36 GMT
I have a parameterMap that is using a "map" object. If it doesn't  
find the property in the map I want nullValue to provide the value.   
This isn't working for me, should this be OK? I am using iBATIS 2.3.0.


	<parameterMap id="countPeopleParameters" class="map">
		<parameter property="result" javaType="int" jdbcType="INTEGER"  
mode="OUT" />
		<parameter property="lastName" javaType="string" jdbcType="VARCHAR"  
mode="IN" nullValue="%" />
	</parameterMap>

Thanks
Peter.





Mime
View raw message