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 bcb65f7 commit 09dc7c0Copy full SHA for 09dc7c0
APIJSONORM/src/main/java/apijson/orm/AbstractSQLConfig.java
@@ -3787,7 +3787,9 @@ public String getSubqueryString(Subquery subquery) throws Exception {
3787
cfg.setPreparedValueList(new ArrayList<>());
3788
String sql = (range == null || range.isEmpty() ? "" : range) + "(" + cfg.getSQL(isPrepared()) + ") ";
3789
3790
- preparedValueList.addAll(cfg.getPreparedValueList());
+ List<Object> origPreparedValueList = preparedValueList;
3791
+ preparedValueList = cfg.getPreparedValueList();
3792
+ preparedValueList.addAll(origPreparedValueList);
3793
3794
return sql;
3795
}
0 commit comments