Browse Source

增加jdbcType和javaType

zhouhao 8 năm trước cách đây
mục cha
commit
eb2d835b24

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

@@ -62,7 +62,7 @@ public class DatabaseManagerController {
         }
         return ok(cached)
                 .include(RDBTableMetaData.class, "name", "alias", "comment", "columns")
-                .include(RDBColumnMetaData.class, "name", "alias", "comment", "dataType", "notNull", "primaryKey", "properties")
+                .include(RDBColumnMetaData.class, "name", "alias", "comment", "dataType","jdbcType", "javaType", "notNull", "primaryKey", "properties")
                 .onlyData();
     }
 
@@ -98,7 +98,7 @@ public class DatabaseManagerController {
             }
             return ok(cached)
                     .include(RDBTableMetaData.class, "name", "alias", "comment", "columns")
-                    .include(RDBColumnMetaData.class, "name", "alias", "comment", "dataType", "notNull", "primaryKey", "properties")
+                    .include(RDBColumnMetaData.class, "name", "alias", "comment", "jdbcType", "javaType", "dataType", "notNull", "primaryKey", "properties")
                     .onlyData();
         } finally {
             DynamicDataSource.useDefault(false);