On Jan 12, 2010, at 12:07 PM, Andrey Razumovsky wrote:
> 2010/1/11 Andrus Adamchik <andru..bjectstyle.org>
>
>> - st.setString(pos, (String) val);
>> + // if this is a CLOB column, set the value as "String"
>> + // instead. This should work with most drivers
>> + if (type == Types.CLOB) {
>> + st.setString(pos, (String) val);
>> + }
>> + else {
>> + super.setJdbcObject(st, val, pos, type, precision);
>> + }
>>
>>
>
> Since I'm not aware why this change was introduced, could you please
> check
> (or remember) consequences of reverting it?
I was actually going to commit this myself. All we need to do
afterwards is just general regression testing across DBs.
Andrus
This archive was generated by hypermail 2.0.0 : Tue Jan 12 2010 - 06:04:33 EST