Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve ProjectionRole expansion #595

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

Improve ProjectionRole expansion #595

timowest opened this issue Dec 13, 2013 · 1 comment
Labels
Milestone

Comments

@timowest
Copy link
Member

@timowest 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
Copy link
Member Author

@timowest 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
Labels
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant