简体   繁体   中英

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)?

jdbcTemplate.batchUpdate 似乎不可能

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM