cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ilgro...@apache.org
Subject svn commit: r1571609 - /cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
Date Tue, 25 Feb 2014 08:15:32 GMT
Author: ilgrosso
Date: Tue Feb 25 08:15:31 2014
New Revision: 1571609

URL: http://svn.apache.org/r1571609
Log:
[COCOON-2339] Adding required method to allow build under JDK 1.7 in a form that should not
harm any other JDK >= 1.4

Modified:
    cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java

Modified: cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
URL: http://svn.apache.org/viewvc/cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java?rev=1571609&r1=1571608&r2=1571609&view=diff
==============================================================================
--- cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
(original)
+++ cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
Tue Feb 25 08:15:31 2014
@@ -20,6 +20,7 @@ import java.io.PrintWriter;
 import java.sql.Connection;
 import java.sql.SQLException;
 import java.util.Map;
+import java.util.logging.Logger;
 
 import javax.sql.DataSource;
 
@@ -126,5 +127,12 @@ public class ExcaliburDataSourceFactory 
         public boolean isWrapperFor(Class iface) throws SQLException {
             return false;
         }
+
+        /**
+         * Required by JDK1.7.
+         */
+        public Logger getParentLogger() {
+	    throw new SQLException("Feature not supported");
+	}
     }
 }



Mime
View raw message