ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Severin Ecker <sec...@gmx.at>
Subject implicit parameter map and Integer
Date Wed, 11 Jul 2007 11:24:00 GMT
hi,

maybe i'm just being stupid, but do i have to make some special 
arrangements so that setting 'null' into a column of type INTEGER works 
(the mapped java type is java.lang.Integer). i always get an exception 
because of an unknown jdbcType (the debugger tells me that the jdbcType 
for it is 0...)

but when i use an explicit parameterMap stating both java and jdbc type 
it works.

can i avoid the need for a parameterMap or do i have to do it that way?

thanks in advance!

cheers,
severin


Mime
View raw message