ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ben Munat <b...@munat.com>
Subject inserting null
Date Fri, 14 Jul 2006 02:55:18 GMT
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