This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
We have given a file which contains some records (no of records might be in lakhs). Now problem is we have to read the data from this file and then query the database using the data from file. Finally we'd export the data in CSV.
What could be the best way so that we can do this very quick and it should be memory efficient also.