提交 82b66cb2 authored 作者: taojinlong's avatar taojinlong

fix: 校验数据源连接

上级 0613ed38
...@@ -232,7 +232,7 @@ public class JdbcProvider extends DatasourceProvider { ...@@ -232,7 +232,7 @@ public class JdbcProvider extends DatasourceProvider {
} catch (Exception e) { } catch (Exception e) {
throw new Exception("ERROR: " + e.getMessage(), e); throw new Exception("ERROR: " + e.getMessage(), e);
} finally { } finally {
con.close(); if(con != null){con.close();}
} }
} }
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论