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: inserting null
Date Fri, 14 Jul 2006 03:23:20 GMT
That is the default behavior.

Larry


On 7/13/06, Ben Munat <bent@munat.com> wrote:
> I see in the user's manual how one can tell ibatis to interpret a given property value
as
> meaning it should insert null into the column... like an int value of -9999 means insert
null.
>
> What I don't see, however, is how to tell ibatis that a null value for a property means
> insert a null. So, for example if I mapped someNum on my bean to the some_num column
in my
> table, and the getSomeNum method returned null, I want ibatis to insert null into
> some_num. Is this even possible?
>
> b
>

Mime
View raw message