Correctly invoke update from CassandraBatchOperations.update.

Previously, we've called `insert` instead of `update`.

Closes #1534
This commit is contained in:
Mark Paluch
2024-11-14 10:20:53 +01:00
parent 40e1bc053a
commit 06b1f1a538
2 changed files with 2 additions and 2 deletions

View File

@@ -116,7 +116,7 @@ public interface CassandraBatchOperations {
Assert.notNull(entity, "Entity must not be null");
return insert(Collections.singleton(entity), options);
return update(Collections.singleton(entity), options);
}
/**

View File

@@ -139,7 +139,7 @@ public interface ReactiveCassandraBatchOperations {
Assert.notNull(entity, "Entity must not be null");
return insert(Collections.singleton(entity), options);
return update(Collections.singleton(entity), options);
}
/**