I struggle to get @Transactional to work in combination with NamedParameterJdbcTemplate.batchUpdate() in an enterprise application. It was hard to
@Transactional
NamedParameterJdbcTemplate.batchUpdate()