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

the getDB() is disposed by the getDatabase, but the GridFS use DB as a parameter only

    • Type: Icon: Task Task
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: 3.0.2
    • Component/s: GridFS
    • Labels:
      None
    • Environment:
      linux ubuntu 14.04 LTS
      mongoDB
      netbeans 8.02
      java drivers

      i just found that the using MongoClient to replace Mongo, so use client.getDatabase() to replace mongo.getDB(), but why the GridFS only receive the DB params as the only type , i just can case MongoDatabase to DB, but the getDB is disposed from the mongoClient

            Assignee:
            Unassigned Unassigned
            Reporter:
            smileboywtu smithbob
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: