Closed GoogleCodeExporter closed 8 years ago
There are many entities in the datastore and I want to clear out. Clearing all
of them at the same time leads to time-out. I want to delete by chunk, however
it seems that setFetchSize() has no effect.
Query query = pm.newQuery(AdjacentEntity.class);
query.getFetchPlan().setFetchSize(numberOfRecord);
int count = query.deletePersistentAll();
return 'count' is bigger than numberOfRecord.
Please help. Thanks.
Original comment by dak.ap...@gmail.com
on 16 Dec 2010 at 9:36
Original comment by max.r...@gmail.com
on 16 Mar 2011 at 6:12
Original comment by max.r...@gmail.com
on 17 Mar 2011 at 8:11
Original comment by max.r...@gmail.com
on 26 May 2011 at 11:31
Original comment by max.r...@gmail.com
on 20 Sep 2011 at 6:48
Original issue reported on code.google.com by
skybr...@google.com
on 7 Jun 2010 at 8:51