|
|
|
@ -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()); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|