Uploaded image for project: 'Java Driver'
  1. Java Driver
  2. JAVA-2940

Is there any plan to add ClientSession to DBCollection?

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • 3.8.0
    • API
    • None

    Description

      My application was developed several years ago. It use mongodb-java-driver version 2.x , which heavily depend on DBCollection.

      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's a lot of work, almost whole re-writing of my application.

      Is there any plan to add ClientSession to DBCollection? 

      Thanks.

       

      Attachments

        Activity

          People

            Unassigned Unassigned
            xbwen Frank Wen
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: