Author: taylor
Date: Fri Dec  1 00:30:52 2017
New Revision: 1816781

URL: http://svn.apache.org/viewvc?rev=1816781&view=rev
Log:
JS2-1362: implement method required by Java7/JDBC4. Will need to eventually 
upgrade to commons-dbcp2 and commons-pooling2

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

Modified: 
portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java
URL: 
http://svn.apache.org/viewvc/portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java?rev=1816781&r1=1816780&r2=1816781&view=diff
==============================================================================
--- 
portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java
 (original)
+++ 
portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java
 Fri Dec  1 00:30:52 2017
@@ -522,4 +522,12 @@ public class ConnectionRepositoryEntry
                }               
        }
 
+       // TODO: see JS2-1362: remove this code when upgrading to DBCP 
commons-dbcp2 / commons-pool2
+       public java.util.logging.Logger getParentLogger()throws 
SQLFeatureNotSupportedException
+    {
+        if(externalDs != null) {
+            return externalDs.getParentLogger();
+        }
+        return null;
+    }
 }



---------------------------------------------------------------------
To unsubscribe, e-mail: jetspeed-dev-unsubscr...@portals.apache.org
For additional commands, e-mail: jetspeed-dev-h...@portals.apache.org

Reply via email to