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

XMLWordPrintableJSON

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

      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
            Reporter:
            smithbob
            None
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: