all,
I am using spring batch to write a fixed length file. So far I managed to write a fixed length single line file and also a multi Line file. I am trying to write a file made up from multiple classes and ineAggregators. Moreover one of the class to write has a list of times which also needs to be presisted. Below is an example of the dummy classes I am using for my POC :
Getters and setters where omitted to increase readability. I would require the file in the following format :Code:public class Account{ private long accountNumber; private float balance; } public class personDetails { private String name; private String surname; private String ID; private int age; } public class Customer extends personDetails{ private String customerID; private List<Account> accountList; }
customerNAme customerSurname
Account1 balance
Account2 balance
account 3 balance
which sample I could follow from the springbatch samples?
thanks


Reply With Quote