<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:51:50 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-246] Enable own _id usage</title>
                <link>https://jira.mongodb.org/browse/JAVA-246</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;I would like to use own _id instead built-in ObjectId, as described in main mongodb documentation. It is overwritten on insert, so I could not save my own id.&lt;br/&gt;
Maybe a new UserId interface could be used to support this feature.&lt;/p&gt;</description>
                <environment></environment>
        <key id="14126">JAVA-246</key>
            <summary>Enable own _id usage</summary>
                <type id="2" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14711&amp;avatarType=issuetype">New Feature</type>
                                            <priority id="4" iconUrl="https://jira.mongodb.org/images/icons/priorities/minor.svg">Minor - P4</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="5">Cannot Reproduce</resolution>
                                        <assignee username="eliot">Eliot Horowitz</assignee>
                                    <reporter username="lsolova">Laszlo Solova</reporter>
                        <labels>
                    </labels>
                <created>Fri, 31 Dec 2010 13:01:55 +0000</created>
                <updated>Thu, 17 Mar 2011 19:13:54 +0000</updated>
                            <resolved>Fri, 31 Dec 2010 14:21:35 +0000</resolved>
                                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>0</watches>
                                                                                                                <comments>
                            <comment id="21967" author="eliot" created="Fri, 31 Dec 2010 16:09:30 +0000"  >&lt;p&gt;save() should do the same thing (just confirmed its working as expected)&lt;/p&gt;</comment>
                            <comment id="21966" author="lsolova" created="Fri, 31 Dec 2010 15:54:51 +0000"  >&lt;p&gt;I&apos;m sorry, I&apos;m beginner in Mongo and tried DBCollection save(DBObject jo) method, and there was my _id overwritten. If I use insert, it works.&lt;br/&gt;
Thank you for your suggestion.&lt;/p&gt;</comment>
                            <comment id="21965" author="eliot" created="Fri, 31 Dec 2010 14:21:35 +0000"  >&lt;p&gt;You just have to set _id before calling insert.&lt;br/&gt;
If you find that doesn&apos;t work for you, please attach your code and results.&lt;/p&gt;</comment>
                    </comments>
                    <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|hrhchr:</customfieldvalue>

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