-
Jun 24th, 2008, 10:31 AM
#1
Writing single line file using FlatFileItemWriter
Hello there,
How can I produce a single line file using spring batch.
requirement:
I have 10 domain objects(UserData for instance) that have to be written to a flat file. Each object should be appended to the existing line.
I did n't find a possibility to tell the FlatFileItemWriter not to use the line separator property
which is retrieved as private static final String LINE_SEPARATOR = System.getProperty("line.separator")
actual output by the writer :
userdata1
userdata2
userdata3
expected output : userdata1userdata2userdata3
Any help is appreciated.
Arun
-
Jun 25th, 2008, 08:49 AM
#2
The answer to this question would pretty much be the same as it is for this one:
http://forum.springframework.org/showthread.php?t=56261
Feel free to create a JIRA issue requesting the feature though.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules