Spring Batch. How to get the number of the element being processed

前端 未结 1 1493
慢半拍i
慢半拍i 2021-01-25 19:33

We\'re storing the elements of a XML file into our database using spring batch. Is it possible to retrieve the number of the element being processed when inserting it into the d

相关标签:
1条回答
  • 2021-01-25 20:04

    Check ItemCountAware: let Person implements this interface and use Person.itemCount property as sql parameter value.

    0 讨论(0)
提交回复
热议问题