Details
-
New Feature
-
Status: Open
-
Minor
-
Resolution: Unresolved
-
2.0.0, 3.0.0
-
None
Description
When the Wicket Viewer renders a collection, it rehydrates each ObjectMemento (basically a Bookmark) one-by-one. This can cause an N+1 style loading issue.
Since the collection's state already knows has the full list of Bookmarks, and it knows which page of objects is to be displayed, we could have a preload phase whereby the viewer emits an event (say) and a listener in the JDO or JPA persistence store could use that as a hint to perform a bulk load of those objects in one go.