Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
suliangchun
dbeaver
提交
fd84a08a
D
dbeaver
项目概览
suliangchun
/
dbeaver
与 Fork 源项目一致
从无法访问的项目Fork
通知
2
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
D
dbeaver
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
fd84a08a
编写于
6月 23, 2020
作者:
A
Anastasiya Volkova
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
#9043 trim unwanted spaces in some connections database settings
上级
324aeab2
变更
5
显示空白变更内容
内联
并排
Showing
5 changed file
with
6 addition
and
6 deletion
+6
-6
plugins/org.jkiss.dbeaver.ext.bigquery.ui/src/org/jkiss/dbeaver/ext/bigquery/ui/views/BigQueryConnectionPage.java
...dbeaver/ext/bigquery/ui/views/BigQueryConnectionPage.java
+1
-1
plugins/org.jkiss.dbeaver.ext.db2.ui/src/org/jkiss/dbeaver/ext/db2/ui/views/DB2ConnectionTracePage.java
...kiss/dbeaver/ext/db2/ui/views/DB2ConnectionTracePage.java
+1
-1
plugins/org.jkiss.dbeaver.ext.oracle.ui/src/org/jkiss/dbeaver/ext/oracle/ui/views/OracleConnectionExtraPage.java
...beaver/ext/oracle/ui/views/OracleConnectionExtraPage.java
+1
-1
plugins/org.jkiss.dbeaver.ext.oracle.ui/src/org/jkiss/dbeaver/ext/oracle/ui/views/OracleConnectionPage.java
...iss/dbeaver/ext/oracle/ui/views/OracleConnectionPage.java
+2
-2
plugins/org.jkiss.dbeaver.ext.spanner.ui/src/org/jkiss/dbeaver/ext/spanner/ui/views/SpannerConnectionPage.java
...s/dbeaver/ext/spanner/ui/views/SpannerConnectionPage.java
+1
-1
未找到文件。
plugins/org.jkiss.dbeaver.ext.bigquery.ui/src/org/jkiss/dbeaver/ext/bigquery/ui/views/BigQueryConnectionPage.java
浏览文件 @
fd84a08a
...
...
@@ -208,7 +208,7 @@ public class BigQueryConnectionPage extends ConnectionPageAbstract implements IC
connectionInfo
.
setProperty
(
BigQueryConstants
.
DRIVER_PROP_OAUTH_TYPE
,
String
.
valueOf
(
authTypeCombo
.
getSelectionIndex
()));
}
if
(
authCertFile
!=
null
)
{
connectionInfo
.
setProperty
(
BigQueryConstants
.
DRIVER_PROP_OAUTH_PVT_KEYPATH
,
authCertFile
.
getText
());
connectionInfo
.
setProperty
(
BigQueryConstants
.
DRIVER_PROP_OAUTH_PVT_KEYPATH
,
authCertFile
.
getText
()
.
trim
()
);
}
if
(
hostText
!=
null
)
{
connectionInfo
.
setHostName
(
hostText
.
getText
().
trim
());
...
...
plugins/org.jkiss.dbeaver.ext.db2.ui/src/org/jkiss/dbeaver/ext/db2/ui/views/DB2ConnectionTracePage.java
浏览文件 @
fd84a08a
...
...
@@ -187,7 +187,7 @@ public class DB2ConnectionTracePage extends ConnectionPageAbstract
{
providerProperties
.
put
(
DB2Constants
.
PROP_TRACE_ENABLED
,
String
.
valueOf
(
enableTraceCheck
.
getSelection
()));
providerProperties
.
put
(
DB2Constants
.
PROP_TRACE_FOLDER
,
folderText
.
getText
());
providerProperties
.
put
(
DB2Constants
.
PROP_TRACE_FOLDER
,
folderText
.
getText
()
.
trim
()
);
providerProperties
.
put
(
DB2Constants
.
PROP_TRACE_FILE
,
fileNameText
.
getText
());
providerProperties
.
put
(
DB2Constants
.
PROP_TRACE_APPEND
,
String
.
valueOf
(
traceAppendCheck
.
getSelection
()));
int
traceLevel
=
0
;
...
...
plugins/org.jkiss.dbeaver.ext.oracle.ui/src/org/jkiss/dbeaver/ext/oracle/ui/views/OracleConnectionExtraPage.java
浏览文件 @
fd84a08a
...
...
@@ -187,7 +187,7 @@ public class OracleConnectionExtraPage extends ConnectionPageAbstract
providerProperties
.
remove
(
OracleConstants
.
PROP_SESSION_TERRITORY
);
}
String
dateFormat
=
nlsDateFormat
.
getText
();
String
dateFormat
=
nlsDateFormat
.
getText
()
.
trim
()
;
if
(!
dateFormat
.
isEmpty
())
{
providerProperties
.
put
(
OracleConstants
.
PROP_SESSION_NLS_DATE_FORMAT
,
dateFormat
);
}
else
{
...
...
plugins/org.jkiss.dbeaver.ext.oracle.ui/src/org/jkiss/dbeaver/ext/oracle/ui/views/OracleConnectionPage.java
浏览文件 @
fd84a08a
...
...
@@ -390,10 +390,10 @@ public class OracleConnectionPage extends ConnectionPageWithAuth implements ICom
break
;
case
TNS:
connectionInfo
.
setDatabaseName
(
tnsNameCombo
.
getText
().
trim
());
connectionInfo
.
setProviderProperty
(
OracleConstants
.
PROP_TNS_PATH
,
tnsPathText
.
getText
());
connectionInfo
.
setProviderProperty
(
OracleConstants
.
PROP_TNS_PATH
,
tnsPathText
.
getText
()
.
trim
()
);
break
;
case
CUSTOM:
connectionInfo
.
setUrl
(
connectionUrlText
.
getText
());
connectionInfo
.
setUrl
(
connectionUrlText
.
getText
()
.
trim
()
);
break
;
}
connectionInfo
.
setProviderProperty
(
OracleConstants
.
PROP_SID_SERVICE
,
OracleConnectionType
.
getTypeForTitle
(
sidServiceCombo
.
getText
()).
name
());
...
...
plugins/org.jkiss.dbeaver.ext.spanner.ui/src/org/jkiss/dbeaver/ext/spanner/ui/views/SpannerConnectionPage.java
浏览文件 @
fd84a08a
...
...
@@ -141,7 +141,7 @@ public class SpannerConnectionPage extends ConnectionPageAbstract implements ICo
connectionInfo
.
setDatabaseName
(
databaseText
.
getText
().
trim
());
}
if
(
privateKeyFile
!=
null
)
{
connectionInfo
.
setProviderProperty
(
SpannerConstants
.
DRIVER_PROP_PVTKEYPATH
,
privateKeyFile
.
getText
());
connectionInfo
.
setProviderProperty
(
SpannerConstants
.
DRIVER_PROP_PVTKEYPATH
,
privateKeyFile
.
getText
()
.
trim
()
);
}
super
.
saveSettings
(
dataSource
);
}
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录