Can iBATOR generate null value replacement code?

View: New views
4 Messages — Rating Filter:   Alert me  

Can iBATOR generate null value replacement code?

by Paranjpe, Satish D. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

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

 


Re: Can iBATOR generate null value replacement code?

by Jeff Butler-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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@...> 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

 



RE: Can iBATOR generate null value replacement code?

by Paranjpe, Satish D. :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Some parts of this message have been removed. Learn more about Nabble's security policy.

OK – Thanks !

 

 

-- Satish

 

From: Jeff Butler [mailto:jeffgbutler@...]
Sent: Tuesday, June 23, 2009 11:17 AM
To: user-java@...
Subject: Re: Can iBATOR generate null value replacement code?

 

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@...> 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

 

 


Re: Can iBATOR generate null value replacement code?

by Arvinder Narula :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

unsubscribe

On Tue, Jun 23, 2009 at 11:16 AM, Jeff Butler <jeffgbutler@...> 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@...> 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