<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:55:43 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-1866] the getDB() is disposed by the getDatabase, but the GridFS use DB as a parameter only</title>
                <link>https://jira.mongodb.org/browse/JAVA-1866</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;i just found that the using MongoClient to replace Mongo, so use client.getDatabase() to replace mongo.getDB(), but why the GridFS only receive the DB params as the only type , i just can case MongoDatabase to DB, but the getDB is disposed from the mongoClient&lt;/p&gt;</description>
                <environment>linux ubuntu 14.04 LTS &lt;br/&gt;
mongoDB&lt;br/&gt;
netbeans 8.02&lt;br/&gt;
java drivers&lt;br/&gt;
</environment>
        <key id="211782">JAVA-1866</key>
            <summary>the getDB() is disposed by the getDatabase, but the GridFS use DB as a parameter only</summary>
                <type id="3" iconUrl="https://jira.mongodb.org/secure/viewavatar?size=xsmall&amp;avatarId=14718&amp;avatarType=issuetype">Task</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="-1">Unassigned</assignee>
                                    <reporter username="smileboywtu">smithbob</reporter>
                        <labels>
                    </labels>
                <created>Fri, 19 Jun 2015 12:18:26 +0000</created>
                <updated>Wed, 11 Sep 2019 19:10:23 +0000</updated>
                            <resolved>Mon, 22 Jun 2015 20:00:18 +0000</resolved>
                                    <version>3.0.2</version>
                                                    <component>GridFS</component>
                                        <votes>0</votes>
                                    <watches>2</watches>
                                                                                                                <comments>
                            <comment id="945436" author="jeff.yemin" created="Fri, 19 Jun 2015 13:30:34 +0000"  >&lt;p&gt;In scope of &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1713&quot; title=&quot;Create new GridFS API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1713&quot;&gt;&lt;del&gt;JAVA-1713&lt;/del&gt;&lt;/a&gt; we will be creating a new GridFS API, and that API will depend on MongoDatabase rather than DB.   Until then you&apos;ll have to make due with the current GridFS API.  Please watch &lt;a href=&quot;https://jira.mongodb.org/browse/JAVA-1713&quot; title=&quot;Create new GridFS API&quot; class=&quot;issue-link&quot; data-issue-key=&quot;JAVA-1713&quot;&gt;&lt;del&gt;JAVA-1713&lt;/del&gt;&lt;/a&gt; for updates.&lt;/p&gt;</comment>
                            <comment id="945337" author="smileboywtu" created="Fri, 19 Jun 2015 12:20:23 +0000"  >&lt;p&gt;sorry, the problem is to cast MongoDatabase to DB.&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|hsah9z:</customfieldvalue>

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