I'm using EclipseLink as API for mongodb. I need to update my database each time from given csv files. Is there any way to import a CSV file into MongoDB with java? or is it possible to execute a raw mongo command like this in java enviroment?
mongoimport --db users --collection contacts --type csv --file /opt/backups/contacts.csv