What i forgot to mention, this is with 2 slices, so 2 below might very well be the number of slices :)
-----Ursprüngliche Nachricht----- Von: Michael Pflueger [mailto:[email protected]] Gesendet: Montag, 22. August 2011 18:31 An: [email protected] Betreff: AW: Slice setFirstResult with setMaxResults broken? As a workaround, it seems that something like: setFirstResult(chunkNumber * chunkSize/2).setMaxResults(chunkNumber * chunkSize/2 + chunkize) works, though I have only slightly tested it. :) ___________________________________________________ SMA Solar Technology AG Aufsichtsrat: Guenther Cramer (Vorsitzender) Vorstand: Juergen Dolle, Roland Grebe, Uwe Hertel, Pierre-Pascal Urbon, Marko Werner Handelsregister: Amtsgericht Kassel HRB 3972 Sitz der Gesellschaft: 34266 Niestetal USt-ID-Nr. DE 113 08 59 54 WEEE-Reg.-Nr. DE 95881150 ___________________________________________________
