You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@commons.apache.org by "Hasan Ceylan (JIRA)" <ji...@apache.org> on 2012/05/03 18:04:50 UTC

[jira] [Created] (DBUTILS-90) fillStatement should handle BLOBS and alikes correctly

Hasan Ceylan created DBUTILS-90:
-----------------------------------

             Summary: fillStatement should handle BLOBS and alikes correctly
                 Key: DBUTILS-90
                 URL: https://issues.apache.org/jira/browse/DBUTILS-90
             Project: Commons DbUtils
          Issue Type: Bug
    Affects Versions: 1.4
         Environment: $ uname -a
Linux ceylan 3.2.0-24-generic #38-Ubuntu SMP Tue May 1 16:18:50 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux
$ java -version 
java version "1.7.0_03"
OpenJDK Runtime Environment (IcedTea7 2.1.1pre) (7~u3-2.1.1~pre1-1ubuntu2)
OpenJDK 64-Bit Server VM (build 22.0-b10, mixed mode)

            Reporter: Hasan Ceylan


According to JDBC Spec http://docs.oracle.com/javase/6/docs/api/java/sql/PreparedStatement.html#setObject(int, java.lang.Object)
certain types cannot be passed to setObject.

DBUtils currently uses setObject for all the types.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira