ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Jeff Stahl <jest...@earthlink.net>
Subject Re: nullValue and empty Sring
Date Fri, 11 Jul 2008 13:15:46 GMT
Don't you have to put the CHAR in quotes as well?

CarloV wrote:
> If i want to set a nullValue replacement for an empty String i use this in an
> explicit parameterMap
>
> <parameter property="codCopiaEsito" jdbcType="CHAR" nullValue=""/>
>
> If i want to do the same thing using inline parameters how should i write
> the statement?
>
> I tried whit 
>
> #codCopiaEsito,jdbcType=CHAR,nullValue=""#
>
> and 
>
> #codCopiaEsito,jdbcType=CHAR,nullValue=#
>
> but it doesn't work.
>
> Thanks
> Carlo
>   

Mime
View raw message