提交 a54306b7 编写于 作者: J jurgen

acceptsURL check doesn't thorw exception

Former-commit-id: d438eb8a
上级 9dea1f9e
......@@ -132,7 +132,7 @@ public abstract class JDBCDataSource
// Just write a warning in log. Some drivers are poorly coded and always returns false here.
log.error("Bad URL: " + connectionInfo.getUrl());
}
} catch (SQLException e) {
} catch (Throwable e) {
log.debug("Error in " + driverInstance.getClass().getName() + ".acceptsURL()", e);
}
Connection connection;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册