Browse Source

Pull request #11391: REPORT-90013 设计器新增不支持的数据连接类型可以保存

Merge in DESIGN/design from ~LEO.QIN/design:final/11.0 to final/11.0

* commit 'e221b188f5d8d8241af129c61745d5f1948a10f0':
  REPORT-90013 设计器新增不支持的数据连接类型可以保存 【问题原因】判断逻辑写反了 【改动思路】修改判读逻辑
new-design
Leo.Qin-覃宇攀 2 years ago
parent
commit
18760905d1
  1. 2
      designer-base/src/main/java/com/fr/design/data/datapane/connect/ConnectionManagerPane.java

2
designer-base/src/main/java/com/fr/design/data/datapane/connect/ConnectionManagerPane.java

@ -80,7 +80,7 @@ public class ConnectionManagerPane extends LoadingBasicPane implements Connectio
// 仅校验jdbc连接,其他插件数据连接不进行校验
if (connection instanceof JDBCDatabaseConnection) {
DatabaseResultBean bean = WorkContext.getCurrent().get(DataBaseTypeOperator.class).validateDatabaseType(connection.getDriver(), connection.feature());
if (bean.equals(DatabaseResultBean.DefaultBean())) {
if (!bean.equals(DatabaseResultBean.DefaultBean())) {
throw new DataBaseNotSupportedException(bean.getMsg());
}
}

Loading…
Cancel
Save