You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@causeway.apache.org by "Daniel Keir Haywood (Jira)" <ji...@apache.org> on 2025/06/30 17:55:00 UTC

[jira] [Updated] (CAUSEWAY-3706) [Perf] Bulk resolve objects in table

     [ 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)