gridfs « mongodb « Java Database Q&A





1. mongodb/gridfs java-driver use with utf-8 meta data    stackoverflow.com

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 ...

2. Append data to existing gridfs file    stackoverflow.com

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 ...

3. MongoDB returns ObjectId values that are different to what is stored (using GridFS)    stackoverflow.com

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 = ...