We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 156d20b commit 44852d1Copy full SHA for 44852d1
APIJSON-Java-Server/APIJSONDemo/src/main/java/apijson/demo/server/DemoSQLExecutor.java
@@ -68,8 +68,7 @@ public int executeUpdate(@NotNull SQLConfig config) throws Exception {
68
}
69
70
71
- //TODO 根据不同数据库来分组存 connection 和 statement,例如 Map<database, connection>,
72
- // 解决一次请求中有2个以上不同数据库类型导致后面的查询都用第一个的数据库类型
+ //TODO String 改为 enum Database 解决大小写不一致(MySQL, mysql等)导致创建多余的 Connection
73
private Map<String, Connection> connectionMap = new HashMap<>();
74
/**
75
* @param config
0 commit comments