I have a CSV file with the following columns: id, fname, telephone, lname, address.
id
fname
telephone
lname
address
I have a P
P
Use @CsvIgnore annotation above the field which need not to be written to csv file.