Author: taylor
Date: Mon Nov  5 13:09:44 2007
New Revision: 592151

URL: http://svn.apache.org/viewvc?rev=592151&view=rev
Log:
https://issues.apache.org/jira/browse/JS2-803

Modified:
    
portals/jetspeed-2/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java

Modified: 
portals/jetspeed-2/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java?rev=592151&r1=592150&r2=592151&view=diff
==============================================================================
--- 
portals/jetspeed-2/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java
 (original)
+++ 
portals/jetspeed-2/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java
 Mon Nov  5 13:09:44 2007
@@ -419,6 +419,18 @@
         {
             this.jcd = jcd;
         }
+
+        public boolean isWrapperFor(Class<?> iface) throws SQLException
+        {
+            return false;
+            // #ifdef JDBC4 return getConnection().isWrapperFor(iface);
+        }
+
+        <T> T unwrap(Class<T> iface) throws SQLException
+        {
+            throw new SQLException("PoolingDataSource is not a wrapper.");
+            //#ifdef JDBC4 return getConnection().unwrap(iface);
+        }
         
         /* (non-Javadoc)
          * @see javax.sql.DataSource#getConnection()



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to