[JAVA-209] add writeconcernt to collection.insert() Created: 04/Nov/10 Updated: 22/Dec/10 Resolved: 13/Nov/10 |
|
| Status: | Closed |
| Project: | Java Driver |
| Component/s: | Cluster Management |
| Affects Version/s: | 2.3 |
| Fix Version/s: | 2.4 |
| Type: | New Feature | Priority: | Major - P3 |
| Reporter: | Joseph Wang | Assignee: | Eliot Horowitz (Inactive) |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Issue Links: |
|
||||
| Description |
|
Re: [mongodb-user] Java 2.3 Driver Questions for Replication Set > It should be there. Can you add a jira? |
| Comments |
| Comment by auto [ 13/Nov/10 ] |
|
Author: {'login': 'erh', 'name': 'Eliot Horowitz', 'email': 'eliot@10gen.com'}Message: added WriteConcern to insert( List ) |
| Comment by Joseph Wang [ 05/Nov/10 ] |
|
Scott's proposed workaround is acceptable. This is a nice to have feature, but not a required change for 2.4. Thank you. |
| Comment by Scott Hernandez (Inactive) [ 04/Nov/10 ] |
|
You can use the array version of insert in the mean time. All the list version does is this: public WriteResult insert(List<DBObject> list) |