mirror of
https://github.com/ebean-orm/ebean.git
synced 2024-04-21 10:51:47 +00:00
Test and Fix for #127 Exception using findIds() with inheritance
SINGLE_TABLE
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user