Incomplete ChangeMap passed to CommitLogListener
Sven Umbricht <[email protected]> Mon, 21 Jul 2025 14:47:05 +0200
| Newsgroups | gmane.comp.java.cayenne.user |
|---|---|
| Message-ID | <[email protected]> |
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
smime.p7s
(application/pkcs7-signature, 7.6 KB) - not displayed