[
https://issues.apache.org/jira/browse/DBUTILS-49?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Henri Yandell closed DBUTILS-49.
--------------------------------
Resolution: Fixed
Fix Version/s: 1.2
Akin to DBUTILS-44 and friends. Should be fixed in trunk after the following
was merged in:
http://svn.apache.org/viewvc/commons/sandbox/dbutils/bugfixing/src/java/org/apache/commons/dbutils/QueryRunner.java?p2=%2Fcommons%2Fsandbox%2Fdbutils%2Fbugfixing%2Fsrc%2Fjava%2Forg%2Fapache%2Fcommons%2Fdbutils%2FQueryRunner.java&p1=%2Fcommons%2Fsandbox%2Fdbutils%2Fbugfixing%2Fsrc%2Fjava%2Forg%2Fapache%2Fcommons%2Fdbutils%2FQueryRunner.java&r1=742865&r2=742864&view=diff&pathrev=742865
> 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
> Fix For: 1.2
>
>
> 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.