A custom CompletionPolicy (extending SimpleCompletionPolicy) looks interesting, but it seems that controls the number of reads before continuing to the writer, not actually hopping over the commit...
Type: Posts; User: pdjohe@gmail.com; Keyword(s):
A custom CompletionPolicy (extending SimpleCompletionPolicy) looks interesting, but it seems that controls the number of reads before continuing to the writer, not actually hopping over the commit...
We use jdbcTemplate to do the updateBatch (I have omitted some special logic used to divide data up into INSERTs and UPDATEs, but here is some pseudocode using JDBC batch update):
public class...
Suppose you have a lookup/code database table of +100,000 records:
Database dataset:
1 - Value1 - valid
2 - Value2 - valid
3 - Value3 - valid
...
Every now and then (daily or hourly), a...