Closed
Description
The reference doc for ItemWriteListener says:
The afterWrite method is called after the item has been successfully written
However, digging into the Javadoc for ItemWriteListener, it seems otherwise:
This is called before any transaction is committed
"after successfully written" suggests that the transaction will have already been committed. The reference documentation should be updated to specify that "after successfully written" actually means before the transaction is committed (i.e. during the write, not after it).