commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Cullen Kehoe (JIRA)" <j...@apache.org>
Subject [jira] Created: (DBUTILS-49) QueryRunner - fillStatement method does not work for PostgreSQL database drivers
Date Fri, 20 Feb 2009 14:49:01 GMT
QueryRunner - fillStatement method does not work for PostgreSQL database drivers
--------------------------------------------------------------------------------

                 Key: DBUTILS-49
                 URL: https://issues.apache.org/jira/browse/DBUTILS-49
             Project: Commons DbUtils
          Issue Type: Bug
    Affects Versions: 1.1
         Environment: Windows XP, Centos (Linux)
            Reporter: Cullen Kehoe


QueryRunner - fillStatement method does not work for PostgreSQL database drivers.  PostgreSQL
database drivers need to the java.sql.Type to be specified on the PreparedStatement.setObject
method (as the 3rd parameter).  But the QueryRunner - fillStatement does not you to specify
the java.sql.Type as the third parameter on the PreparedStatement.setObject method.  See the
particular line I'm referred to in the method below.  

  stmt.setObject(i + 1, params[i]);


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message