DATACOUCH-51 - Call replace on batch update.
This changeset fixes a typo that exposed the wrong write semantics when calling update().
This commit is contained in:
@@ -145,7 +145,7 @@ public class CouchbaseTemplate implements CouchbaseOperations {
|
||||
|
||||
public void update(final Collection<?> batchToSave) {
|
||||
for (final Object aBatchToSave : batchToSave) {
|
||||
save(aBatchToSave);
|
||||
update(aBatchToSave);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user