[JIRA] (HHH-15984) Pagination error with Postgres : SQL Error: 0, SQLState: 42601 ERROR: syntax error
by Christian Beikov (JIRA)
Christian Beikov ( https://hibernate.atlassian.net/secure/ViewProfile.jspa?accountId=557058%... ) *commented* on HHH-15984 ( https://hibernate.atlassian.net/browse/HHH-15984?atlOrigin=eyJpIjoiZWU3Nz... )
Re: Pagination error with Postgres : SQL Error: 0, SQLState: 42601 ERROR: syntax error ( https://hibernate.atlassian.net/browse/HHH-15984?atlOrigin=eyJpIjoiZWU3Nz... )
No idea what is wrong on your end, but according to the documentation ( https://www.postgresql.org/docs/9.6/sql-select.html#SQL-LIMIT ) , this syntax should also be supported on 9.6. In fact, I just tried running your query on 9.5 and it works for me. Maybe try updating your JDBC driver. Apart from that, note that 9.6 is not supported anymore and version 10 just recently EOLed. Starting with Hibernate 6.2 we make it clear by emitting a warning, that we only support a certain range of DB versions. In fact, we generally only support DB versions that are also still supported by the vendors. For 6.2 we will only support PostgreSQL 10+.
If you can point us to a mistake that we made, we can look into that, but from what I see, it seems like your DB doesn’t behave well. Until then, I’ll close this ticket, but can reopen it if you can point me to something specific.
( https://hibernate.atlassian.net/browse/HHH-15984#add-comment?atlOrigin=ey... ) Add Comment ( https://hibernate.atlassian.net/browse/HHH-15984#add-comment?atlOrigin=ey... )
Get Jira notifications on your phone! Download the Jira Cloud app for Android ( https://play.google.com/store/apps/details?id=com.atlassian.android.jira.... ) or iOS ( https://itunes.apple.com/app/apple-store/id1006972087?pt=696495&ct=EmailN... ) This message was sent by Atlassian Jira (v1001.0.0-SNAPSHOT#100213- sha1:1fa7b87 )
1 year, 11 months