ode-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mi...@apache.org
Subject svn commit: r697202 - /ode/branches/APACHE_ODE_1.X/utils/src/main/java/org/apache/ode/utils/LoggingStatementWrapper.java
Date Fri, 19 Sep 2008 19:34:28 GMT
Author: midon
Date: Fri Sep 19 12:34:28 2008
New Revision: 697202

URL: http://svn.apache.org/viewvc?rev=697202&view=rev
Log:
better logging: order values by column name or index

Modified:
    ode/branches/APACHE_ODE_1.X/utils/src/main/java/org/apache/ode/utils/LoggingStatementWrapper.java

Modified: ode/branches/APACHE_ODE_1.X/utils/src/main/java/org/apache/ode/utils/LoggingStatementWrapper.java
URL: http://svn.apache.org/viewvc/ode/branches/APACHE_ODE_1.X/utils/src/main/java/org/apache/ode/utils/LoggingStatementWrapper.java?rev=697202&r1=697201&r2=697202&view=diff
==============================================================================
--- ode/branches/APACHE_ODE_1.X/utils/src/main/java/org/apache/ode/utils/LoggingStatementWrapper.java
(original)
+++ ode/branches/APACHE_ODE_1.X/utils/src/main/java/org/apache/ode/utils/LoggingStatementWrapper.java
Fri Sep 19 12:34:28 2008
@@ -28,6 +28,7 @@
 import java.util.Calendar;
 import java.util.HashMap;
 import java.util.Map;
+import java.util.TreeMap;
 
 /**
  * @author Matthieu Riou <mriou at apache dot org>
@@ -36,8 +37,8 @@
 
     private PreparedStatement _stmt;
     private Log _log;
-    private HashMap<String,Object> _paramsStr  = new HashMap<String,Object>();
-    private HashMap<Integer,Object> _paramsIdxr  = new HashMap<Integer,Object>();
+    private TreeMap<String,Object> _paramsStr  = new TreeMap<String,Object>();
+    private TreeMap<Integer,Object> _paramsIdxr  = new TreeMap<Integer,Object>();
 
     public LoggingStatementWrapper(CallableStatement stmt, Log log) {
         _stmt = stmt;



Mime
View raw message