I have found one scenario on Spring scheduler job. as while doing batch insert and then doing batch update, it is returning "DeadlockLoserDataAccessException" exception. this scenario occurs around one every 4 to 5 month.
code : getJdbcTemplate().batchUpdate("Update Query");
Can you suggest, how I can handle/fix this.