[
https://issues.apache.org/jira/browse/CAUSEWAY-3706?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Daniel Keir Haywood updated CAUSEWAY-3706:
------------------------------------------
Fix Version/s: 3.5.0
(was: 3.4.0)
> [Perf] Bulk resolve objects in table
> ------------------------------------
>
> Key: CAUSEWAY-3706
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3706
> Project: Causeway
> Issue Type: New Feature
> Components: Viewer Wicket
> Affects Versions: 2.0.0, 3.0.0
> Reporter: Daniel Keir Haywood
> Priority: Minor
> Fix For: 3.5.0
>
>
> 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.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)