ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Sanjiv Jivan" <sanjiv.ji...@gmail.com>
Subject setting type for nullable columns
Date Wed, 06 Sep 2006 14:29:37 GMT
>From the Ibatis doc :
"Most drivers only need the type specified for nullable columns. Therefore,
for such drivers you only need to specify the type for the columns that are
Note! When using an Oracle driver, you will get an "Invalid column type"
error if you attempt to set a null value to a column without specifying its

Just wondering if Ibatis could infer the type based on the javabean property
member type when setting null values instead of requiring the user to
specify NUMERIC etc for nullable columns.. Kinda like the shorthand version
of select mappings where introspection is used instead of explicit


View raw message