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

Don't prefix ORDER BY properties when HQL doesn't have a primary alias. #2971

Closed
wants to merge 2 commits into from

Conversation

gregturn
Copy link
Contributor

No description provided.

gregturn added 2 commits May 23, 2023 07:39
…ixed.

In the event a Hibernate query doesn't have a primary alias, don't attempt to prefix order by property settings.

See #2969
@gregturn gregturn linked an issue May 23, 2023 that may be closed by this pull request
gregturn added a commit that referenced this pull request May 23, 2023
…ixed.

If a Hibernate query doesn't have a primary alias, don't attempt to prefix any Sort properties using it.

See #2969
Original Pull Request #2971
@gregturn gregturn closed this May 23, 2023
@gregturn gregturn deleted the issue/gh-2969 branch May 23, 2023 13:33
gregturn added a commit that referenced this pull request May 23, 2023
…ixed.

If a Hibernate query doesn't have a primary alias, don't attempt to prefix any Sort properties using it.

See #2969
Original Pull Request #2971
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.

Spring Data JPA generates incorrect JPQL query for pagination request
1 participant