简体   繁体   中英

Issue with jdbcTemplate.batchUpdate() for large list of queries

I am facing an issue with JdbcTemplate.batchUpdate(String[] queries) method when processing bulk of queries.

The statement is getting executed without any exception but updation is not reflected in database. We are using sybase. The size of list of queries is around 7000+.

Have anyone faced similar issue before?

Thanks for your reply. I got the issue. It was very silly coding which was not logged properly. The batchUpdate was called under a try block and in catch it was not logged to logger but system console. The execution thrown exception as one of the queries were malformed.

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