ibatis-user-java mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From cuong PN <pncuon...@yahoo.com>
Subject Re: InlineParameterMap exception
Date Mon, 27 Aug 2007 01:45:24 GMT

Hi Brandon

Thanks for replying. We've found the solution. Our column type is VARCHAR
and the param object is of type String. For that aspect, it's alright. But
problem comes when we don't set value for paidI (which is an inline
parameter) and hence it's null. Our old jdbc driver doesn't know what to do
and so throws an error. It's fixed by putting specific SQL type in the xml:


That works!


What is the type of your database column and what is the property type on
your parameter object? This error appears pretty self explanatory. But, I'm
willing to help if you provide some clearer details.


View this message in context: http://www.nabble.com/InlineParameterMap-exception-tf4315664.html#a12340484
Sent from the iBATIS - User - Java mailing list archive at Nabble.com.

View raw message