Skip to content
Snippets Groups Projects
Commit 8247d517 authored by Robert Goldmann's avatar Robert Goldmann
Browse files

#663 - fixed sequences reset

parent 55e9ea6b
No related branches found
No related tags found
No related merge requests found
......@@ -507,7 +507,7 @@ public class BatchConfiguration
.processor(new GenericDoNothingProcessor<>())
.writer(new GenericWriter<>(destinationTemplateTagRepository))
.listener(new GenericChunkListener(TableNames.TEMPLATE_TAGS))
.listener(new GenericStepListener<>(TableNames.TEMPLATE_TAGS, destinationTemplateTagRepository, context.getBean("jdbcTemplate2", JdbcTemplate.class), true))
.listener(new GenericStepListener<>(TableNames.TEMPLATE_TAGS, destinationTemplateTagRepository, context.getBean("jdbcTemplate2", JdbcTemplate.class), false))
.allowStartIfComplete(true)
.build();
}
......@@ -521,7 +521,7 @@ public class BatchConfiguration
.processor(new GenericDoNothingProcessor<>())
.writer(new GenericWriter<>(destinationTransactionTagRepository))
.listener(new GenericChunkListener(TableNames.TRANSACTION_TAGS))
.listener(new GenericStepListener<>(TableNames.TRANSACTION_TAGS, destinationTransactionTagRepository, context.getBean("jdbcTemplate2", JdbcTemplate.class), true))
.listener(new GenericStepListener<>(TableNames.TRANSACTION_TAGS, destinationTransactionTagRepository, context.getBean("jdbcTemplate2", JdbcTemplate.class), false))
.allowStartIfComplete(true)
.build();
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment