spring-data-jpa icon indicating copy to clipboard operation
spring-data-jpa copied to clipboard

Ignore offset for `Limit` based query

Open quaff opened this issue 1 year ago • 1 comments
trafficstars

Avoid calling Query.setFirstResult(0) which maybe generated sql contains unwanted offset 0.

Fix GH-3242

quaff avatar Apr 28 '24 08:04 quaff

It's not likely that Hibernate will merge proposed PR linked to https://hibernate.atlassian.net/browse/HHH-17475, I think it's better to adapt at Spring Data JPA side.

quaff avatar Apr 28 '24 08:04 quaff

Thank you for your contribution. That's merged, polished, and backported now.

mp911de avatar Jun 27 '24 12:06 mp911de