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

Deprecate com.mongodb.DB public constructor that takes a com.mongodb.Mongo instance

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.9.0
    • None
    • API
    • None

    Description

      With the deprecation of com.mongodb.Mongo this constructor should be deprecated as well so that the Mongo class can be removed in the next major release. Also, there's no good reason we're aware of for the DB class to have a public constructor, so it doesn't need to be replaced with a new public constructor that takes a com.mongodb.MongoClient, though we could consider adding one if requested.

      Attachments

        Activity

          People

            jeff.yemin@mongodb.com Jeffrey Yemin
            jeff.yemin@mongodb.com Jeffrey Yemin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: