Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我怎么能创建一个 itemWriter 而不是清空文件然后写入它,以简单地附加写入必须写入的内容。
我正在使用 FlatFileItemWriter。
fileItemWriter.setAppendAllowed(true);
请参阅此处的文档。