Skip to content

Many-to-many queries followed by sorting raise exception when sorting is done by queried table properties #14636

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

Open
helgew opened this issue Aug 26, 2016 · 0 comments

Comments

@helgew
Copy link

helgew commented Aug 26, 2016

The title (as convoluted as it is) probably says it all. The issue is demonstrated in this example app, specifically by the included test case. Briefly, when a simple where query is performed using a domain class that represents a many-to-many relationship between two other domain classes, sorting by the queried table requires that aliases are created for each table.

@puneetbehl puneetbehl self-assigned this Mar 7, 2018
@puneetbehl puneetbehl removed their assignment Jul 10, 2018
@jdaugherty jdaugherty transferred this issue from apache/grails-data-mapping Apr 22, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants