creating function/procedure inside mongodb to read contents of file stored in side mongodb

49 Views Asked by At

Please help in below situation. I have a text/doc/htm file which needs to be stored in mongodb using java application.(this part I have did using GridFS) After storing file, I want to retrieve the contents of file using a function/procedure inside mongodb, and store the information (i.e. filename and content) in json format so that I can map these values to my POJO class(having attributes filename and content).

0

There are 0 best solutions below