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

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.9.0
    • Affects Version/s: None
    • Component/s: API
    • None

      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.

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

              Created:
              Updated:
              Resolved: