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

Fix getTotalCount() with Hibernate for sorting parameters (7.3.x backport) #758

Merged
merged 1 commit into from
Oct 6, 2023

Conversation

darxriggs
Copy link
Contributor

@darxriggs darxriggs commented Oct 5, 2023

These are the same changes as in PR #756 backported to the 7.3.x branch.

Don't have sorting in the generated query. Otherwise, depending on the
database and its strictness configuration, the query might fail.

The `PagedResultSpec` in `grails-datastore-gorm-tck` covers this.
@puneetbehl puneetbehl merged commit 86040d5 into grails:7.3.x Oct 6, 2023
3 checks passed
@darxriggs darxriggs deleted the getTotalCount-and-sorting-7.3.x branch October 6, 2023 17:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants