My requirement is getting data from db and creating a csv file with that. I followed the below steps.
I got the data from db with my required columns say col1,col2 and col3. When i am trying to append everything to a string, i am not getting expected resultSet. I first initialized errorData string variable with empty string.
PFA dia and help to meet my requirement.