[
https://issues.apache.org/jira/browse/CAUSEWAY-3779?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17855673#comment-17855673
]
Daniel Keir Haywood commented on CAUSEWAY-3779:
-----------------------------------------------
Hmm, seems that I was mistaken, there is no general purpose DN API that will do
this efficiently.
the PersistenceManager#getObjectsById(Collection) ultimately seems to iterate
one by one (down in StorePersistenceHandler#findObjects(...) ).
So will likely have to roll-our-own if we want a performance improvement here.
> Support for Query By Id(s)
> --------------------------
>
> Key: CAUSEWAY-3779
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3779
> Project: Causeway
> Issue Type: Improvement
> Components: Persistence JDO, Persistence JPA
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.1.0, 3.1.0
>
>
> Given some stringified Entity IDs, fetch me all the entities with those IDs
> in one bulk.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)