commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dan Fabulich (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DBUTILS-49) QueryRunner - fillStatement method does not work for PostgreSQL database drivers
Date Sat, 07 Mar 2009 06:02:56 GMT

     [ https://issues.apache.org/jira/browse/DBUTILS-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Dan Fabulich updated DBUTILS-49:
--------------------------------

    Fix Version/s:     (was: 1.2)

Removing "Fix Version: 1.2" since this is really a dupe; it clutters the release notes.

> 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