[
https://issues.apache.org/jira/browse/CAUSEWAY-3500?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber resolved CAUSEWAY-3500.
----------------------------------
Resolution: Resolved
was able to finally clean that up, after we had recently introduces wicket
viewer tests, that cover whether object deletion works as expected (in the UI)
> [Persistence] Cleanup ambiguous EntityState Terminology
> -------------------------------------------------------
>
> Key: CAUSEWAY-3500
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3500
> Project: Causeway
> Issue Type: Improvement
> Components: Persistence JDO, Persistence JPA
> Reporter: Andi Huber
> Assignee: Andi Huber
> Priority: Major
> Fix For: 2.0.0-RC3
>
>
> In the framework's context DETACHED just means PERSISTABLE but currently
> NOT-ATTACHED.
> However, within JDO and JPA context, DETACHED means that an entity can be
> still worked with then be made persistent again later, whilst the persistence
> layer will have kept track of any changes in between.
> While JDO supports this technology, we historically never enabled it. Instead
> the framework relies on Bookmarks/OIDs to re-fetch entities, should there be
> an interaction.
> JDO instead offers the lightweight HOLLOW state for entities, which JPA does
> not.
> So my goal is to clean up the EntityState enum, perhaps rename some of the
> states and correct any ambiguous associated java-doc.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)