<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:45 UTC 2024

It is possible to restrict the fields that are returned in this document by specifying the 'field' parameter in your request.
For example, to request only the issue key and summary append 'field=key&field=summary' to the URL of your request.
-->
<rss version="0.92" >
<channel>
    <title>MongoDB Jira</title>
    <link>https://jira.mongodb.org</link>
    <description>This file is an XML representation of an issue</description>
    <language>en-us</language>    <build-info>
        <version>9.7.1</version>
        <build-number>970001</build-number>
        <build-date>13-04-2023</build-date>
    </build-info>


<item>
            <title>[JAVA-209] add writeconcernt to collection.insert()</title>
                <link>https://jira.mongodb.org/browse/JAVA-209</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;Re: &lt;span class=&quot;error&quot;&gt;&amp;#91;mongodb-user&amp;#93;&lt;/span&gt; Java 2.3 Driver Questions for Replication Set&lt;br/&gt;
...&lt;br/&gt;
From:	&lt;br/&gt;
Eliot Horowitz &amp;lt;eliothorowitz@gmail.com&amp;gt;&lt;br/&gt;
...&lt;br/&gt;
Add to Contacts&lt;br/&gt;
To:	mongodb-user@googlegroups.com	&lt;/p&gt;

&lt;p&gt;&amp;gt;&lt;br/&gt;
&amp;gt;    a) Is there a plan to add WriteConcern parameter to collection.insert(list)?&lt;/p&gt;

&lt;p&gt;It should be there.  Can you add a jira?&lt;/p&gt;</description>
                <environment></environment>
        <key id="13621">JAVA-209</key>
            <summary>add writeconcernt to collection.insert()</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="3" iconUrl="https://jira.mongodb.org/images/icons/priorities/major.svg">Major - P3</priority>
                        <status id="6" iconUrl="https://jira.mongodb.org/images/icons/statuses/closed.png" description="The issue is considered finished, the resolution is correct. Issues which are closed can be reopened.">Closed</status>
                    <statusCategory id="3" key="done" colorName="success"/>
                                    <resolution id="9">Done</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="joseph.wang">Joseph Wang </reporter>
                        <labels>
                    </labels>
                <created>Thu, 4 Nov 2010 18:42:10 +0000</created>
                <updated>Wed, 22 Dec 2010 23:58:14 +0000</updated>
                            <resolved>Sat, 13 Nov 2010 21:15:58 +0000</resolved>
                                    <version>2.3</version>
                                    <fixVersion>2.4</fixVersion>
                                    <component>Cluster Management</component>
                                        <votes>0</votes>
                                    <watches>1</watches>
                                                                                                                <comments>
                            <comment id="20304" author="auto" created="Sat, 13 Nov 2010 21:28:07 +0000"  >&lt;p&gt;Author:&lt;/p&gt;
{&apos;login&apos;: &apos;erh&apos;, &apos;name&apos;: &apos;Eliot Horowitz&apos;, &apos;email&apos;: &apos;eliot@10gen.com&apos;}
&lt;p&gt;Message: added WriteConcern to insert( List ) &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-209&quot; title=&quot;add writeconcernt to collection.insert()&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-209&quot;&gt;&lt;del&gt;JAVA-209&lt;/del&gt;&lt;/a&gt;&lt;br/&gt;
/mongodb/mongo-java-driver/commit/fd732069b7b3397da7d5004fcbbe1ed1087d2a42&lt;/p&gt;</comment>
                            <comment id="20044" author="joseph.wang" created="Fri, 5 Nov 2010 00:57:02 +0000"  >&lt;p&gt;Scott&apos;s proposed workaround is acceptable. This is a nice to have feature, but not a required change for 2.4. Thank you.&lt;/p&gt;</comment>
                            <comment id="20036" author="scotthernandez" created="Thu, 4 Nov 2010 19:31:11 +0000"  >&lt;p&gt;You can use the array version of insert in the mean time. All the list version does is this:&lt;/p&gt;

&lt;p&gt;    public WriteResult insert(List&amp;lt;DBObject&amp;gt; list) &lt;br/&gt;
        throws MongoException &lt;/p&gt;
{
        return insert( list.toArray( new DBObject[list.size()] ) , getWriteConcern() );
    }</comment>
                    </comments>
                <issuelinks>
                            <issuelinktype id="10012">
                    <name>Related</name>
                                                                <inwardlinks description="is related to">
                                                        </inwardlinks>
                                    </issuelinktype>
                    </issuelinks>
                <attachments>
                    </attachments>
                <subtasks>
                    </subtasks>
                <customfields>
                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_15850" key="com.atlassian.jira.plugins.jira-development-integration-plugin:devsummary">
                        <customfieldname>Development</customfieldname>
                        <customfieldvalues>
                            
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                    <customfield id="customfield_12550" key="com.pyxis.greenhopper.jira:gh-lexo-rank">
                        <customfieldname>Rank</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>2|hrhcnb:</customfieldvalue>

                        </customfieldvalues>
                    </customfield>
                                                                <customfield id="customfield_10558" key="com.pyxis.greenhopper.jira:gh-global-rank">
                        <customfieldname>Rank (Obsolete)</customfieldname>
                        <customfieldvalues>
                            <customfieldvalue>14849</customfieldvalue>
                        </customfieldvalues>
                    </customfield>
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            </customfields>
    </item>
</channel>
</rss>