[JAVA-1331] Deprecated Mongo.getDB()