<!-- 
RSS generated by JIRA (9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66) at Thu Feb 08 08:58:25 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-2940] Is there any plan to add ClientSession to DBCollection?</title>
                <link>https://jira.mongodb.org/browse/JAVA-2940</link>
                <project id="10006" key="JAVA">Java Driver</project>
                    <description>&lt;p&gt;My application was developed several years ago. It use mongodb-java-driver version 2.x , which heavily depend on DBCollection.&lt;/p&gt;

&lt;p&gt;Now I want to use transactions. I upgrade to MongoDB 4.0 and mongodb-java-driver 3.8.0. But find that I can not use ClientSession with DBCollection. If I use MongoCollection to replace DBCollection, it&apos;s a lot of work, almost whole re-writing of my application.&lt;/p&gt;

&lt;p&gt;Is there any plan to&#160;add ClientSession to DBCollection?&#160;&lt;/p&gt;

&lt;p&gt;Thanks.&lt;/p&gt;

&lt;p&gt;&#160;&lt;/p&gt;</description>
                <environment></environment>
        <key id="593296">JAVA-2940</key>
            <summary>Is there any plan to add ClientSession to DBCollection?</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="2">Won&apos;t Fix</resolution>
                                        <assignee username="-1">Unassigned</assignee>
                                    <reporter username="xbwen">Frank Wen</reporter>
                        <labels>
                    </labels>
                <created>Thu, 23 Aug 2018 12:43:34 +0000</created>
                <updated>Wed, 11 Sep 2019 19:15:24 +0000</updated>
                            <resolved>Mon, 19 Nov 2018 16:02:40 +0000</resolved>
                                    <version>3.8.0</version>
                                                    <component>API</component>
                                        <votes>0</votes>
                                    <watches>3</watches>
                                                                                                                <comments>
                            <comment id="2066409" author="ross@10gen.com" created="Mon, 19 Nov 2018 16:02:29 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=xbwen&quot; class=&quot;user-hover&quot; rel=&quot;xbwen&quot;&gt;xbwen&lt;/a&gt;,&lt;/p&gt;

&lt;p&gt;Just to let you know, having reviewed the ClientSession API there are no plans to update the DBCollection API to include ClientSession support. As such I&apos;m closing this ticket as &quot;Won&apos;t Fix&quot;. If you or others feel strongly that it should be included please comment - if there is enough support this decision will be revisited.&lt;/p&gt;

&lt;p&gt;Many thanks,&lt;/p&gt;

&lt;p&gt;Ross&lt;/p&gt;</comment>
                            <comment id="1983682" author="jeff.yemin" created="Thu, 23 Aug 2018 12:57:46 +0000"  >&lt;p&gt;Hi &lt;a href=&quot;https://jira.mongodb.org/secure/ViewProfile.jspa?name=xbwen&quot; class=&quot;user-hover&quot; rel=&quot;xbwen&quot;&gt;xbwen&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;We&apos;re definitely aware of this shortcoming.  I wouldn&apos;t say we have a plan quite yet, but we are considering options to make it easier to use ClientSession and DBCollection together.  I&apos;ll respond on this ticket when we are further along with our plan.&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|hr86c7:</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>