ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Arvinder Narula <arvinder.nar...@gmail.com>
Subject Re: Can iBATOR generate null value replacement code?
Date Tue, 23 Jun 2009 15:24:08 GMT
unsubscribe

On Tue, Jun 23, 2009 at 11:16 AM, Jeff Butler <jeffgbutler@gmail.com> wrote:

> Ibator does not support this.
> BTW - iBATIS3 will not support nullValue replacement.  It would be better
> to stop using nullValue now in preparation for the future.
>
> Jeff Butler
>
>
>
> On Tue, Jun 23, 2009 at 9:51 AM, Paranjpe, Satish D. <satish@mitre.org>wrote:
>
>>  Hello,
>>
>>   I am trying to find out if iBATOR supports generating “nullValue”
>> replacement code for  columns in a table.
>>
>>  For e.g.  Let’s say I have a table with one column “config”.
>>
>> I would like iBATOR to generate the following ( which I do when I am not
>> using iBATOR)
>>
>>
>>
>> <resultMap id=*"ReportItemResult"* class=*"datalayer.ReportItem"* >
>>
>> <result column=*"config"* property=*"config"* jdbcType=*"VARCHAR"*nullValue=
>> *""* />
>>
>> </resultMap>
>>
>>
>>
>> Does iBATOr support generating nullValue code in the SQLMaps it generates?
>>
>>
>>
>> My environment
>>
>> ===============
>>
>>
>>
>> I am using the iBATOR eclipse plugin for java – version 1.2.1
>>
>>
>>
>> Thanks,
>>
>>
>>
>> --Satish
>>
>>
>>
>
>


-- 
Arvinder Narula

Mime
View raw message