user2555212
user2555212

Reputation: 171

jdbcTemplate.batchUpdate Skip policy

I am using org.springframework.jdbc.core.namedparam.NamedParameterJdbcTemplate.batchUpdate for batch updates. It generally stops updating on any failure. My concern is, is there any way to implement SkipPolicy with above when there is a batchUpdateException? (Similar to Spring Batch skip exception and process remaining rows)?

Upvotes: 1

Views: 442

Answers (1)

user2555212
user2555212

Reputation: 171

It seems not possible with jdbcTemplate.batchUpdate

Upvotes: 0

Related Questions