I need to read large Excel worksheets using Java. Excel sheet can be .xls or .xlsx. A sheet can have thousands of rows. I need to read all the rows and insert this row into the database.
So basically read from Excel and write to the database.
The API I'm looking at is the POI and JExcel APIs (after searching and reading some other related articles in SO).
But I'm still not sure about what is the most suitable way to read very large Excel sheets.
I no longer want to have memory problems.
Change 1:
Also, from what I was looking so far, it seems that JExcel does not support .xlsx formats.
Please offer.
source share