[JAVA-255] DBCollection.save(obj) does not use the default write concern Created: 11/Jan/11  Updated: 17/Mar/11  Resolved: 12/Jan/11

Status: Closed
Project: Java Driver
Component/s: None
Affects Version/s: None
Fix Version/s: 2.5

Type: Bug Priority: Major - P3
Reporter: Antoine Girbal Assignee: Antoine Girbal
Resolution: Done Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified


 Description   

right now it calls DBCollection.save(obj, null), should call DBCollection.save(obj, getWriteConcern())
This can be dangerous as user may expect it to use global WriteConcern



 Comments   
Comment by auto [ 11/Jan/11 ]

Author:

{u'login': u'agirbal', u'name': u'agirbal', u'email': u'antoine@10gen.com'}

Message: JAVA-256: fix all javadoc
JAVA-255: DBCollection.save(obj) does not use the default write concern
https://github.com/mongodb/mongo-java-driver/commit/916afd83f477a27769b2783702cf3f8fc27809b2

Generated at Thu Feb 08 08:51:51 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.