Correctly invoke update from CassandraBatchOperations.update.
Previously, we've called `insert` instead of `update`. Closes #1534
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user