fix(TUP-20317)node of JDBC should be hidden when import db items (#1776)

https://jira.talendforge.org/browse/TUP-20317
This commit is contained in:
Jane Ding
2018-07-11 11:42:07 +08:00
committed by Chao MENG
parent aae97ec31b
commit fc8ae10bf0

View File

@@ -295,6 +295,9 @@ public class ImportNodesBuilder {
return null;
}
if ("JDBC".equals(curType.getType())) {
curType = ERepositoryObjectType.METADATA_CONNECTIONS;
}
TypeImportNode typeImportNode = typeNodesChildrenMap.get(curType);
if (typeImportNode != null) {
return typeImportNode;