openjpa-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From allee8...@apache.org
Subject svn commit: r1438134 - /openjpa/branches/2.2.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedStatementManagerImpl.java
Date Thu, 24 Jan 2013 19:27:13 GMT
Author: allee8285
Date: Thu Jan 24 19:27:13 2013
New Revision: 1438134

URL: http://svn.apache.org/viewvc?rev=1438134&view=rev
Log:
OPENJPA-2264 - restore deleted logSQLWarning(PreparedStatement) method to maintain binary
backward compatibility.

Modified:
    openjpa/branches/2.2.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedStatementManagerImpl.java

Modified: openjpa/branches/2.2.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedStatementManagerImpl.java
URL: http://svn.apache.org/viewvc/openjpa/branches/2.2.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedStatementManagerImpl.java?rev=1438134&r1=1438133&r2=1438134&view=diff
==============================================================================
--- openjpa/branches/2.2.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedStatementManagerImpl.java
(original)
+++ openjpa/branches/2.2.1.x/openjpa-jdbc/src/main/java/org/apache/openjpa/jdbc/kernel/PreparedStatementManagerImpl.java
Thu Jan 24 19:27:13 2013
@@ -294,6 +294,10 @@ public class PreparedStatementManagerImp
      * Provided the JDBC log category is logging warnings, this method will 
      * log any SQL warnings that result from the execution of a SQL statement. 
      */
+    protected void logSQLWarnings(PreparedStatement stmt) {
+        logSQLWarnings((Statement)stmt);
+    }
+
     protected void logSQLWarnings(Statement stmt) {
         if (stmt != null && _log != null && _log.isTraceEnabled()) {
             try {



Mime
View raw message