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

GridFS lacks a constructor that receives Database instead of DB

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Closed
    • Priority: Minor - P4
    • Resolution: Won't Fix
    • Affects Version/s: 3.9.1
    • Fix Version/s: None
    • Component/s: GridFS
    • Labels:
      None
    • Backwards Compatibility:
      Minor Change

      Description

      GridFS has a constructor that receives a `DB` object, however obtaining a DB object `getDb()`is deprecated now in MongoClient `client.getDB(String name)`. So probably a new constructor or a viable alternative to instantiate GridFS is needed.

       

        Attachments

          Activity

            People

            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: