Test and Fix for #127 Exception using findIds() with inheritance

SINGLE_TABLE
This commit is contained in:
Rob Bygrave
2014-05-14 21:10:52 +12:00
parent 2ddef37632
commit 9f916998c9
2 changed files with 32 additions and 1 deletions
@@ -97,7 +97,7 @@ public class SqlTreeBuilder {
this.desc = request.getBeanDescriptor();
this.query = request.getQuery();
this.subQuery = Type.SUBQUERY.equals(query.getType());
this.subQuery = Type.SUBQUERY.equals(query.getType()) || Type.ID_LIST.equals(query.getType());
this.includeJoin = query.getIncludeTableJoin();
this.manyWhereJoins = query.getManyWhereJoins();
this.queryDetail = query.getDetail();