I'm working on building a piece of software in which input is csv file data which can have 90k plus rows of data in single file.
Just to inform file will not have HEADER row at all it will start with data itself.
Through googling I came to super csv and dozer mapper extension. I am not able to find an example of where while reading of single csv line can fill Pojo with many collection of other pojos.
My Customer Pojo looks like below snapshot...
class CustomerPojo {
private Id<CustomerId> customerId;
private String lookupCode;
// enum type
private QuoteType quoteType;
private String bCovCa;
private Money bCovRa;
private String recommCovCa;
private Money recommCoveRa;
private Date insertedDate;
private String pdfName;
private List<VehicleInfo> vehicleInfoPojoList;
private List<Address> addressList;
// All setter-getter
}
Can some give guidance, I'm too reading through the site but it has simple examples where as day to day software have multiple associations and custom data types.
Thanks in advance.