Home » JDO » Miscellaneous » FetchPlan » setFetchSize(fetchSize) - JDO FetchPlan's method

setFetchSize(fetchSize) - JDO FetchPlan's method

Method
javax.jdo.FetchPlan
FetchPlan setFetchSize(
  int fetchSize
)

Set the fetch size for large result set support. Use FETCH_SIZE_OPTIMAL to unset, and FETCH_SIZE_GREEDY to force loading of everything.
Parameters:
fetchSize - the fetch size
Returns:
the FetchPlan
Since:
JDO 2.0

This documentation page is derived (with some adjustments) from the JDO 2.2 API
and is available under the terms of the Apache License, v. 2.0.