On Jan 12, 2010, at 12:07 PM, Andrey Razumovsky wrote:

2010/1/11 Andrus Adamchik <[email protected]>

-        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

Reply via email to