cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anathan...@apache.org
Subject svn commit: r495744 - /cocoon/branches/BRANCH_2_1_X/src/blocks/databases/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
Date Fri, 12 Jan 2007 21:22:52 GMT
Author: anathaniel
Date: Fri Jan 12 13:22:51 2007
New Revision: 495744

URL: http://svn.apache.org/viewvc?view=rev&rev=495744
Log:
Compile against JDK1.6

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?view=diff&rev=495744&r1=495743&r2=495744
==============================================================================
--- 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
Fri Jan 12 13:22:51 2007
@@ -112,5 +112,19 @@
         public void setLogWriter(PrintWriter out) throws SQLException {
             this.writer = out;
         }       
+
+        /**
+         * Required by JDK1.6.
+         */
+        public Object unwrap(Class iface) throws SQLException {
+            return null;
+        }
+
+        /**
+         * Required by JDK1.6.
+         */
+        public boolean isWrapperFor(Class iface) throws SQLException {
+            return false;
+        }
     }
 }



Mime
View raw message