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
I have used PageableExecutionUtils for the first time today and think there might be a bug. The returned page seems to always contain the whole content, not a sublist of the given input as I would expect. Or is there a misunderstanding on my side that I am not seeing?
PageableExecutionUtils assumes that content is a result of applying Pageable to the query returning the actual content. We haven't covered the case that content might be greater than Pageable#getPageSize as queries with JPA/MongoDB and other stores respect the limitation of rows/documents on the server side. We might want to extend our documentation though to reflect this assumption.
I have used
PageableExecutionUtils
for the first time today and think there might be a bug. The returned page seems to always contain the whole content, not a sublist of the given input as I would expect. Or is there a misunderstanding on my side that I am not seeing?The following simple test illustrates the issue:
Cheers
Stefan
The text was updated successfully, but these errors were encountered: