Organizational Research By

Surprising Reserch Topic

unterminated double quotes in spring batch

unterminated double quotes in spring batch  using -'java,spring,spring-batch'

I am new to Spring Batch and I have run into a problem.

The batch application I am working on reads and processes lines from a delimited text file. I have configured the application to use a FlatFileReader to read the delimited text file, but the issue is that some of the data being read has a double quote in it. A FlatFileParseException is thrown when the FlatFileReader encounters a single double quote, but none is thrown when two double quotes are present.

Has anyone come across this issue, and if so, what would be the proper resolution? Manipulating the data itself is not an option unfortunately. I have tried adding an escape character before every double quote, but an exception is still thrown regardless.

Any help would be greatly appreciated.
asked Oct 7, 2015 by girisha
0 votes

Related Hot Questions

Government Jobs Opening