Hi Fengyi,
As per your reported data, the query result is not missing records, but
the page size is longer than you requested. For example if you request a
page size of P and have N slices, the the query will return P*N rows per
page.
This is surely a bug, albeit a minor one. A simple solution is to set the
page size to be P/N. then the actual page size will be P/N * N = P i.e what
you wanted originally.
-----
Pinaki Poddar
Chair, Apache OpenJPA Project
--
View this message in context: http://openjpa.208410.n2.nabble.com/about-slice-query-with-paging-the-result-have-some-wrong-tp7584326p7584410.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.
|