Child pages
  • Your First Stateful Project

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

ERXBatchingDisplayGroup is a subclass of WODisplayGroup, a utility that adds multiple actions and logic to a list of objects. One of the best features of ERXBatchingDisplayGroup is that it does real batching (if the RDBMS that you use supports it), so that means that if we specify a batch of 20 objects (dg.setNumberOfObjectsPerBatch(20)), it will fetch only the first 20 objects from the database, and if you switch to the next batch, the display group will go to the database to get the next 20 objects. ERXBatchingDisplayGroup is useful if you known know that your list will contains hundred of objects.

...