Skip to content

Commit 1662e21

Browse files
committed
解决 fastjson 等 JSON 库可能泄漏 Subquery 及包含的 SQLConfig 等信息
1 parent 01d31b5 commit 1662e21

File tree

6 files changed

+107
-113
lines changed

6 files changed

+107
-113
lines changed

APIJSONORM/src/main/java/apijson/orm/AbstractObjectParser.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -899,7 +899,7 @@ public M parseResponse(SQLConfig<T, M, L> config, boolean isProcedure) throws Ex
899899
if (parser.getSQLExecutor() == null) {
900900
parser.createSQLExecutor();
901901
}
902-
if (parser != null && config.getParser() == null) {
902+
if (parser != null && config.gainParser() == null) {
903903
config.setParser(parser);
904904
}
905905
return parser.getSQLExecutor().execute(config, isProcedure);

0 commit comments

Comments
 (0)