forked from lxm_tools/screw
⚡ 优化代码
This commit is contained in:
@@ -141,7 +141,6 @@ public abstract class AbstractDatabaseQuery implements DatabaseQuery {
|
||||
int columnCount = resultSet.getMetaData().getColumnCount();
|
||||
for (int i = 1; i <= columnCount; i++) {
|
||||
String columnValue = resultSet.getString(i);
|
||||
System.out.println(columnValue);
|
||||
if (StringUtils.isNotBlank(columnValue) && columnValue.contains(schema)) {
|
||||
return schema;
|
||||
}
|
||||
|
||||
@@ -38,7 +38,6 @@ public class MapUtils {
|
||||
public static Map<String, Object> objectToMap(Object obj) throws IllegalAccessException {
|
||||
Map<String, Object> map = new HashMap<>(16);
|
||||
Class<?> clazz = obj.getClass();
|
||||
System.out.println(clazz);
|
||||
for (Field field : clazz.getDeclaredFields()) {
|
||||
field.setAccessible(true);
|
||||
String fieldName = field.getName();
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
#
|
||||
# screw-core - 简洁好用的数据库表结构文档生成工具
|
||||
# Copyright © 2020 SanLi (qinggang.zuo@gmail.com)
|
||||
# screw-core - \u7B80\u6D01\u597D\u7528\u7684\u6570\u636E\u5E93\u8868\u7ED3\u6784\u6587\u6863\u751F\u6210\u5DE5\u5177
|
||||
# Copyright \u00A9 2020 SanLi (qinggang.zuo@gmail.com)
|
||||
#
|
||||
# This program is free software: you can redistribute it and/or modify
|
||||
# it under the terms of the GNU Lesser General Public License as published by
|
||||
@@ -17,7 +17,7 @@
|
||||
#
|
||||
|
||||
#URL
|
||||
url=jdbc:mysql://xxx.xxx.xxx.xxx:3306/xxx?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8
|
||||
url=jdbc:mysql://xxx.xxx.xxx.xxx:3306/xxx?useUnicode=true&characterEncoding=utf-8&useSSL=true&serverTimezone=GMT%2B8&useInformationSchema=true
|
||||
#\u9A71\u52A8
|
||||
driver=com.mysql.cj.jdbc.Driver
|
||||
#\u7528\u6237\u540D
|
||||
|
||||
Reference in New Issue
Block a user