You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Spring Data 2024.0 will align offset with keyset scroll positions in spring-projects/spring-data-commons#3070 such that an offset position corresponds to the element index (i.e. no longer adding +1), and also for data store implementations to exclude rather than include the reference offset position.
This will require follow-up adjustments on our end. For forward pagination we no longer need to advance by 1. For backward pagination, we need to advance back by (count + 1) so the results exclude the reference position.
The text was updated successfully, but these errors were encountered:
rstoyanchev
changed the title
Adapt offset scroll calculations to upcoming changes in Spring Data 2024.0
Adapt offset scroll calculations to changes in Spring Data 2024.0
Apr 9, 2024
Spring Data 2024.0 will align offset with keyset scroll positions in spring-projects/spring-data-commons#3070 such that an offset position corresponds to the element index (i.e. no longer adding +1), and also for data store implementations to exclude rather than include the reference offset position.
This will require follow-up adjustments on our end. For forward pagination we no longer need to advance by 1. For backward pagination, we need to advance back by (count + 1) so the results exclude the reference position.
The text was updated successfully, but these errors were encountered: