cayenne-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Andrey Razumovsky <razumovsky.and...@gmail.com>
Subject Re: [jira] Updated: (CAY-1298) String no longer works in query when column type is Integer
Date Tue, 12 Jan 2010 10:07:12 GMT
2010/1/11 Andrus Adamchik <andrus@objectstyle.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?

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message