You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Support multiple Update operations for the same column name.
Previously, the `Update` class used a `Map` to store its operations,
keyed by column name. This prevented multiple operations on the same
column, such as setting different keys in a map-type column, as later
operations would overwrite earlier ones.
This commit changes the internal data structure to a `List`, allowing
multiple operations to be recorded.
To align with the 'last-wins' semantics for conflicting operations
(e.g., setting the same column twice), a conflict resolution mechanism
has been added. New operations now replace existing, conflicting ones.
Adds comprehensive unit tests to verify both the coexistence of
non-conflicting operations and the replacement of conflicting ones.
Signed-off-by: Jeongjun Min <m3k0813@gmail.com>
See #1525
Original pull request: #1596
Copy file name to clipboardExpand all lines: spring-data-cassandra/src/test/java/org/springframework/data/cassandra/core/StatementFactoryUnitTests.java
0 commit comments