Re: Incomplete ChangeMap passed to CommitLogListener
Andrus Adamchik <[email protected]> Tue, 22 Jul 2025 16:01:54 -0400
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <[email protected]> |
Hi Sven, Looks like the earlier related message from Hugi on dev@ went unanswered. So I just made a note to myself to make sure we check this one out with Nikita when he's back from vacation early in August. Thanks, Andrus > On Jul 21, 2025, at 8:47 AM, Sven Umbricht <[email protected]> wrote: > > Hi all, > > we're facing an issue with missing CommitLogListener events after upgrading from Cayenne 4.1 to 4.2. In the call to the CommitLogListener's onPostCommit-method the passed ChangeMap does not contain all changes made during the last commit. > > Hugi has already helped us with investigating this and managed to replicate the problem in a small example project: > https://github.com/hugithordarson/xx-c42-listen > > It seems that the ChangeMap is wiped when modifying an object accessed via a relationship. Our listener is also configured to use excludeFromTransaction-mode, so this may or may not be related to CAY-2735. Any help in this matter is appreciated. > > Best regards > Sven