openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pinaki Poddar <>
Subject Re: about slice query with paging. the result have some wrong
Date Sun, 14 Jul 2013 18:15:12 GMT
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
  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:
Sent from the OpenJPA Users mailing list archive at

View raw message