ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Larry Meadors" <lmead...@apache.org>
Subject Re: Problem using nullValue in parameter map
Date Tue, 25 Sep 2007 13:20:04 GMT
Are you getting an exception?

Larry


On 9/25/07, Peter Martin <pmartin@adobe.com> wrote:
>
> 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