OpenCSV - How to map selected columns to Java Bean regardless of order?

前端 未结 10 913
终归单人心
终归单人心 2020-11-30 06:38

I have a CSV file with the following columns: id, fname, telephone, lname, address.

I have a P

10条回答
  •  萌比男神i
    2020-11-30 07:16

    Have a look at jcsvdao, https://github.com/eric-mckinley/jcsvdao/ , uses hibernate style mapping files and can handle 1to1 and 1toMany relations. Good if you dont own the csv files as has flexible matching strategies.

提交回复
热议问题