Re: [jira] Updated: (CAY-1298) String no longer works in query when column type is Integer

From: Andrey Razumovsky (razumovsky.andre..mail.com)
Date: Tue Jan 12 2010 - 05:07:12 EST

  • Next message: Andrus Adamchik: "Re: [jira] Updated: (CAY-1298) String no longer works in query when column type is Integer"

    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?



    This archive was generated by hypermail 2.0.0 : Tue Jan 12 2010 - 05:08:06 EST