Interesting. I was aware of this issue but no-one raised it before - 2.0 will have a different listrener / writer contract so it will be easier there. What you have to do for now is store up the items (if multithreaded use a transaction resource like in the BatchSqlUpdateItemWriter) in an ItemReadListener, and then flush them in one query in a ChunkListener. Remember you can write one class that implements bith interfaces.


Reply With Quote
