You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by GitBox <gi...@apache.org> on 2021/08/23 15:23:27 UTC

[GitHub] [tomcat] pirateskipper commented on a change in pull request #183: preload driver in connection pool

pirateskipper commented on a change in pull request #183:
URL: https://github.com/apache/tomcat/pull/183#discussion_r694072834



##########
File path: modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool/PooledConnection.java
##########
@@ -335,7 +308,7 @@ protected void connectUsingDriver() throws SQLException {
             }
         }
         if (connection==null) {
-            throw new SQLException("Driver:"+driver+" returned null for URL:"+driverURL);
+            throw new SQLException("Driver:"+parent.getDriver()+" returned null for URL:"+driverURL);

Review comment:
       ` throw new SQLException("Driver:" + parent.getDriver() + " returned null for URL:" + driverURL);`




-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org