Announcement Announcement Module
Collapse
No announcement yet.
setTransactional method and FlatFileItemWriter Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • setTransactional method and FlatFileItemWriter

    Hi,

    I would like to know the use/concept of setTransactional method in terms of FlatFileItemWriter. If someone can explain or provide/direct me towards a bit detail documentation then it would be great.

    I couldn't find any thing detailed in existing JavaDocs. Mayb

    Thanks.

  • #2
    From the Javadoc I'd say it writes to the buffer (the file) only when the transaction of the chunk commits.

    Comment


    • #3
      I agree with snicoll: FlatFileItemWriter will buffer all writes in internal buffer and will flush it to output (resource) when transaction is committed for the chunk ("deferred" writer).

      Comment


      • #4
        thanks for replying. it makes sense what both of you mentioned.

        Comment

        Working...
        X