Wildcard.all cannot be passed to QTuple
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Querydsl |
Fix Released
|
Medium
|
Unassigned |
Bug Description
The easiest way to retrieve a tuple with all columns of all tables would be something like:
List<Tuple> rows = query.from(
for (Tuple row : rows) println(
However, there is the following error:
Exception in thread "main" java.lang.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at com.mysema.
at db.Select.
As it is possible to use new QTuple(x.all()), which is already a multi-column projection, I think it shouldn't be too hard to support using Wildcard.all.
Changed in querydsl: | |
importance: | Undecided → Medium |
Actually it is quite hard, since Wildcard.all() provides only the wildcard symbol and not the actual paths like Q<Foo>.all(). The actual path instances are needed.
But I will try to figure out a solution.