From b14563262d8d1c7ac4391a34588d4ea2fe21de41 Mon Sep 17 00:00:00 2001 From: dailer Date: Fri, 19 Nov 2021 16:06:48 +0800 Subject: [PATCH 1/2] =?UTF-8?q?DEC-21444=20feat:=20=E3=80=90BI=E9=85=8D?= =?UTF-8?q?=E5=90=88=E3=80=91=E8=BE=BE=E6=A2=A6=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/constants/constant.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/modules/constants/constant.ts b/src/modules/constants/constant.ts index cedc99f..ed5784b 100644 --- a/src/modules/constants/constant.ts +++ b/src/modules/constants/constant.ts @@ -572,6 +572,17 @@ export const DATA_BASE_TYPES = [ type: 'jdbc', hasSchema: false, kerberos: false, + }, { + text: '达梦数据库', + databaseType: 'dm', + driver: 'dm.jdbc.driver.DmDriver', + drivers: ['dm.jdbc.driver.DmDriver'], + url: 'jdbc:dm://hostname:port', + commonly: false, + internal: true, + type: 'jdbc', + hasSchema: true, + kerberos: true, }, { text: 'Presto', databaseType: 'presto', From 67151ab586bbafde7ab72325a521c6fc1e544e91 Mon Sep 17 00:00:00 2001 From: dailer Date: Fri, 19 Nov 2021 16:13:41 +0800 Subject: [PATCH 2/2] =?UTF-8?q?DEC-21444=20feat:=20=E3=80=90BI=E9=85=8D?= =?UTF-8?q?=E5=90=88=E3=80=91=E8=BE=BE=E6=A2=A6=E6=95=B0=E6=8D=AE=E5=BA=93?= =?UTF-8?q?=E9=80=82=E9=85=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/modules/constants/constant.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/modules/constants/constant.ts b/src/modules/constants/constant.ts index ed5784b..4becb61 100644 --- a/src/modules/constants/constant.ts +++ b/src/modules/constants/constant.ts @@ -573,7 +573,7 @@ export const DATA_BASE_TYPES = [ hasSchema: false, kerberos: false, }, { - text: '达梦数据库', + text: BI.i18nText('Dec-Dcm_Connection_Database_DM'), databaseType: 'dm', driver: 'dm.jdbc.driver.DmDriver', drivers: ['dm.jdbc.driver.DmDriver'],