[
https://issues.apache.org/jira/browse/CAUSEWAY-3514?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Andi Huber reopened CAUSEWAY-3514:
----------------------------------
reopen: as a follow-up we should make sure that ...
persisting/persisted corresponds to an SQL INSERT, while updating/updated is
for a SQL UPDATE
Dan: For JDO, the callback we have is postStore, which can occur when either an
INSERT or UPDATE has taken place, and so there's in v1 there's an if statement
to figure out which causeway callback to fire.
> JDO ... persisted() callback is being when an object is updated.
> ----------------------------------------------------------------
>
> Key: CAUSEWAY-3514
> URL: https://issues.apache.org/jira/browse/CAUSEWAY-3514
> Project: Causeway
> Issue Type: Bug
> Components: Persistence JDO
> Affects Versions: 2.0.0-RC1
> Reporter: Daniel Keir Haywood
> Assignee: Andi Huber
> Priority: Minor
> Fix For: 2.0.0-RC2
>
>
> compared to v1 code where we correctly see updated() callback is called.
>
> I attempted to create a reproduction in simpleapp (see CAUSEWAY-3514-and-3515
> branch), but hit the issue as mentioned in CAUSEWAY-3515 ... leaving this for
> now.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)