There are some records with double quotation marks between my field values.
So when I use FlatFileItemReader throws FlatFileParseException for those records.
Sample record is:
7 ^ A3989815 ^ a2400284298 ^ abu ^ aa "- cleaning inc. ^ A $
How do we manage such records in the Spring Batch item readers?
Regards, Shankar
You can definitely change the default bid character to something that you are making sure that will not appear as a suggestion. We had similar problems and changed it to @
Recommended
/ Code> must be overridden and always false
is the method is quoteCharacter
as it is proposed better solution IMO.
No comments:
Post a Comment