Improve ProjectionRole expansion #595

Closed
timowest opened this Issue Dec 13, 2013 · 1 comment

Comments

Projects
None yet
1 participant
@timowest
Member

timowest commented Dec 13, 2013

When RelationalPath instances are used in combination with GroupBy transformation, they are not properly expanded:

e.g.

.transform(groupBy(table.col1).as(map(table.col2, table.col3)));

throws

com.mysema.query.QueryException: java.lang.ArrayIndexOutOfBoundsException
    at com.mysema.query.sql.SQLResultIterator.next(SQLResultIterator.java:85)
    at com.mysema.query.group.GroupBy.transform(GroupBy.java:214)
    at com.mysema.query.group.GroupBy.transform(GroupBy.java:43)
    at com.mysema.query.support.ProjectableQuery.transform(ProjectableQuery.java:80)

timowest added a commit that referenced this issue Dec 13, 2013

@timowest

This comment has been minimized.

Show comment
Hide comment
@timowest

timowest Dec 22, 2013

Member

Released in 3.3.0

Member

timowest commented Dec 22, 2013

Released in 3.3.0

@timowest timowest closed this Dec 22, 2013

@timowest timowest added this to the 3.3.0 milestone Apr 13, 2014

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment