Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
1.1
-
None
-
None
-
Windows XP, Centos (Linux)
Description
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]);