We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents bcb65f7 + 09dc7c0 commit d92066dCopy full SHA for d92066d
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