cocoon-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From anathan...@apache.org
Subject svn commit: r495743 - /cocoon/trunk/blocks/cocoon-databases/cocoon-databases-impl/src/main/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
Date Fri, 12 Jan 2007 21:16:30 GMT
Author: anathaniel
Date: Fri Jan 12 13:16:29 2007
New Revision: 495743

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

Modified:
    cocoon/trunk/blocks/cocoon-databases/cocoon-databases-impl/src/main/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java

Modified: cocoon/trunk/blocks/cocoon-databases/cocoon-databases-impl/src/main/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
URL: http://svn.apache.org/viewvc/cocoon/trunk/blocks/cocoon-databases/cocoon-databases-impl/src/main/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java?view=diff&rev=495743&r1=495742&r2=495743
==============================================================================
--- cocoon/trunk/blocks/cocoon-databases/cocoon-databases-impl/src/main/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
(original)
+++ cocoon/trunk/blocks/cocoon-databases/cocoon-databases-impl/src/main/java/org/apache/cocoon/databases/ibatis/ExcaliburDataSourceFactory.java
Fri Jan 12 13:16:29 2007
@@ -106,5 +106,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