Skip to content

[2.4] Syntax error when using setMaxResults() on native queries with SQL Server / PostgreSQL #2317

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

Merged
merged 2 commits into from
Jun 21, 2025

Conversation

DavideD
Copy link
Member

@DavideD DavideD commented Jun 21, 2025

Backport #2314 (#2315) for 2.4

yrodiere added 2 commits June 21, 2025 11:43
…d with native equivalent when using PostgreSQL/MSSQL

Reverts some changes introduced in e257189,
probably assuming this was more efficient and didn't break anything
(understandably, considering tests did pass).
@DavideD DavideD added this to the 2.4.9 milestone Jun 21, 2025
@DavideD DavideD added the 2.4 label Jun 21, 2025
@DavideD DavideD added the bug Something isn't working label Jun 21, 2025
@DavideD DavideD merged commit f056c3b into hibernate:2.4 Jun 21, 2025
18 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
2.4 bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Syntax error when using setMaxResults() on native queries with SQL Server / PostgreSQL
2 participants