commons-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Julien Aymé (JIRA) <j...@apache.org>
Subject [jira] Created: (DBUTILS-60) Enhance message QueryRunner#rethrow for Batch
Date Tue, 03 Nov 2009 11:19:05 GMT
Enhance message QueryRunner#rethrow for Batch
---------------------------------------------

                 Key: DBUTILS-60
                 URL: https://issues.apache.org/jira/browse/DBUTILS-60
             Project: Commons DbUtils
          Issue Type: Improvement
    Affects Versions: 1.2, Nightly Builds
            Reporter: Julien Aymé
             Fix For: 1.3


If an error is thrown when executing a Batch  (via the QueryRunner#batch method), the rethrow
method incorrectly transform the batch parameters in to a String:
instead of 
{code}msg.append(Arrays.asList(params));{code}
the following should be used:
{code}msg.append(Arrays.deepToString(params));{code}

This would allow the batch parameters to be correctly displayed, instead of having [java.lang.Object[]@8954,
java.lang.Object[]@78946]

-- 
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