Details
-
Bug
-
Status: Closed
-
Blocker
-
Resolution: Fixed
-
4.2.RC2
-
None
Description
IdGenerationMarker class uses parent id hash as a data source for the equals() method.
This could cause severe problems like data missing in the commit in case of the hash collision in two ids and usage of the OpIdFactory.ReplacementAwareObjectId id implementation.
There's already a commit that is part of CAY-2777 fix, that significantly reduces risk of this problem:
https://github.com/apache/cayenne/commit/53c9408e026d926601baf6e68b9761489c273397
See also this mail thread: https://lists.apache.org/thread/2hdsn7vzdbbsgzvjt9mxwxkfo81m79wq
Attachments
Issue Links
- is caused by
-
CAY-2777 Reverse relationship is not set with single table inheritance
- Closed