[
https://issues.apache.org/jira/browse/CAUSEWAY-3486?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber resolved CAUSEWAY-3486.
----------------------------------
Resolution: Resolved
>From the DataNucleus docs:
JDO lifecycle occurs such that at commit the object moves into hollow state
(still has its identity, but its field values are optionally unloaded).
However, historically I could not find a way to recover an OID from a hollow
entity pojo (outside of a transactional context).
Solution is by memoizing the OID in the Persistable.dnStateManager field. Using
a pseudo StateManager, that only acts as a holder of an OID.
> Paged Table of ViewModels appearently fails to initialize those on Page 2 or
> higher
> -----------------------------------------------------------------------------------
>
> Key: CAUSEWAY-3486
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3486
> Project: Causeway
> Issue Type: Bug
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC2
>
>
> see https://the-asf.slack.com/archives/CFC42LWBV/p1686657458687259
--
This message was sent by Atlassian Jira
(v8.20.10#820010)