openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ppod...@apache.org
Subject svn commit: r1240240 - /openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/BindParameter.java
Date Fri, 03 Feb 2012 16:44:28 GMT
Author: ppoddar
Date: Fri Feb  3 16:44:28 2012
New Revision: 1240240

URL: http://svn.apache.org/viewvc?rev=1240240&view=rev
Log:
OPENJPA-2099: Added toString() for debugging

Modified:
    openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/BindParameter.java

Modified: openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/BindParameter.java
URL: http://svn.apache.org/viewvc/openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/BindParameter.java?rev=1240240&r1=1240239&r2=1240240&view=diff
==============================================================================
--- openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/BindParameter.java
(original)
+++ openjpa/trunk/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/sql/BindParameter.java
Fri Feb  3 16:44:28 2012
@@ -109,4 +109,8 @@ public class BindParameter {
 	public Object getKey() {
 		return _key;
 	}	
+	
+	public String toString() {
+		return _key + ":" + getValue();
+	}
 }



Mime
View raw message