commons-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dfabul...@apache.org
Subject svn commit: r832548 - /commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java
Date Tue, 03 Nov 2009 20:49:19 GMT
Author: dfabulich
Date: Tue Nov  3 20:49:18 2009
New Revision: 832548

URL: http://svn.apache.org/viewvc?rev=832548&view=rev
Log:
[DBUTILS-60] Enhance message in QueryRunner#rethrow for Batch

Modified:
    commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java

Modified: commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java
URL: http://svn.apache.org/viewvc/commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java?rev=832548&r1=832547&r2=832548&view=diff
==============================================================================
--- commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java (original)
+++ commons/proper/dbutils/trunk/src/java/org/apache/commons/dbutils/QueryRunner.java Tue
Nov  3 20:49:18 2009
@@ -536,7 +536,7 @@
         if (params == null) {
             msg.append("[]");
         } else {
-            msg.append(Arrays.asList(params));
+            msg.append(Arrays.deepToString(params));
         }
 
         SQLException e = new SQLException(msg.toString(), cause.getSQLState(),



Mime
View raw message