portals-jetspeed-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From tay...@apache.org
Subject svn commit: r1816781 - /portals/jetspeed-2/portal/trunk/components/jetspeed-rdbms/src/main/java/org/apache/jetspeed/components/rdbms/ojb/ConnectionRepositoryEntry.java
Date Fri, 01 Dec 2017 00:30:52 GMT
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-unsubscribe@portals.apache.org
For additional commands, e-mail: jetspeed-dev-help@portals.apache.org


Mime
View raw message