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:
Michael Nitschinger
2013-12-04 10:34:36 +01:00
parent 3f9d5030c4
commit 97993c2409

View File

@@ -145,7 +145,7 @@ public class CouchbaseTemplate implements CouchbaseOperations {
public void update(final Collection<?> batchToSave) {
for (final Object aBatchToSave : batchToSave) {
save(aBatchToSave);
update(aBatchToSave);
}
}