Skip to content

Commit eb2d835

Browse files
committed
增加jdbcType和javaType
1 parent 8b37056 commit eb2d835

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

hsweb-web-controller/src/main/java/org/hsweb/web/controller/system/DatabaseManagerController.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,7 +62,7 @@ public ResponseMessage showTables(boolean reload) throws SQLException {
6262
}
6363
return ok(cached)
6464
.include(RDBTableMetaData.class, "name", "alias", "comment", "columns")
65-
.include(RDBColumnMetaData.class, "name", "alias", "comment", "dataType", "notNull", "primaryKey", "properties")
65+
.include(RDBColumnMetaData.class, "name", "alias", "comment", "dataType","jdbcType", "javaType", "notNull", "primaryKey", "properties")
6666
.onlyData();
6767
}
6868

@@ -98,7 +98,7 @@ public ResponseMessage showTables(@PathVariable("dataSourceId") String dataSourc
9898
}
9999
return ok(cached)
100100
.include(RDBTableMetaData.class, "name", "alias", "comment", "columns")
101-
.include(RDBColumnMetaData.class, "name", "alias", "comment", "dataType", "notNull", "primaryKey", "properties")
101+
.include(RDBColumnMetaData.class, "name", "alias", "comment", "jdbcType", "javaType", "dataType", "notNull", "primaryKey", "properties")
102102
.onlyData();
103103
} finally {
104104
DynamicDataSource.useDefault(false);

0 commit comments

Comments
 (0)