google-code-export / morphia

Automatically exported from code.google.com/p/morphia
1 stars 0 forks source link

DatastoreImpl.update not using WriteConcern #435

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What version are you using? (Morphia/Driver/MongoDB)
0.99
This method should supposedly update all entities found with the operations, 
but 

1) it calls update with multi = false, and
2) don't see it using the WriteConcern parameter at all.

public <T> UpdateResults<T> update(Query<T> query, UpdateOperations<T> ops, 
boolean createIfMissing, WriteConcern wc) {
    return update(query, ops, createIfMissing, false);
}

Original issue reported on code.google.com by m.cherny...@gmail.com on 15 Oct 2012 at 8:09