提交 fcc58cd9 authored 作者: igor-suhorukov's avatar igor-suhorukov

comments code changes for issue #695

上级 a5c1f8e1
......@@ -292,7 +292,8 @@ public class JdbcUtils {
if (java.sql.Driver.class.isAssignableFrom(d)) {
try {
Driver driverInstance = (Driver) d.newInstance();
return driverInstance.connect(url, prop);
return driverInstance.connect(url, prop); /*fix issue #695 with drivers with the same
jdbc subprotocol in classpath of jdbc drivers (as example redshift and postgresql drivers)*/
} catch (Exception e) {
throw DbException.toSQLException(e);
}
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论