Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Fixed
-
1.0
-
None
-
Operating System: Linux
Platform: PC
-
29212
Description
I am having trouble using dbutils with the DB2 v8.1.3 JDBCdriver because my
driver does not support the Types.OTHER datatype and that datatype is
automatically assigned to input parameters whose values are null.
As a workaround to this issue, I suggest adding another overload to the
QueryRunner::query method, which accepts an additional Object[] list containing
the types of the parameters being passed. Alternatively, you could create a
Parameter object that encapsulates the type and value of the input parameter
and pass an array of those objects to query.