I am trying to use GridFS to load a file along with some meta data
using the java-driver. (2.5.3)
Things work fine as long as the meta-data is in ASCII. But ...
As i can see java mongo driver does not provide capability to get OutputStream from existing gridFS file com.mongodb.gridfs.GridFSFile
I have to create GridFSInputFile directly or use gridFs.createFile() method.
Is it a ...
I am storing files in MongoDB. In order to retrieve them at a later date I am recording the ObjectId associated with each file.
GridFS fs = new GridFS(Dao.getDB(), "docs");
GridFSInputFile file = ...