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

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Done
    • Icon: Major - P3 Major - P3
    • None
    • 3.0.2
    • GridFS
    • None
    • linux ubuntu 14.04 LTS
      mongoDB
      netbeans 8.02
      java drivers

    Description

      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

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: