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

#663 - fixed sequences reset

parent 4219eea9
No related branches found
No related tags found
No related merge requests found
......@@ -465,7 +465,7 @@ public class BatchConfiguration
.processor(new GenericDoNothingProcessor<>())
.writer(new GenericWriter<>(destinationReportSettingsRepository))
.listener(new GenericChunkListener(TableNames.REPORT_SETTINGS))
.listener(new GenericStepListener<>(TableNames.REPORT_SETTINGS, destinationReportSettingsRepository, context.getBean("jdbcTemplate2", JdbcTemplate.class), true))
.listener(new GenericStepListener<>(TableNames.REPORT_SETTINGS, destinationReportSettingsRepository, context.getBean("jdbcTemplate2", JdbcTemplate.class), false))
.allowStartIfComplete(true)
.build();
}
......@@ -479,7 +479,7 @@ public class BatchConfiguration
.processor(new GenericDoNothingProcessor<>())
.writer(new GenericWriter<>(destinationSettingsRepository))
.listener(new GenericChunkListener(TableNames.SETTINGS))
.listener(new GenericStepListener<>(TableNames.SETTINGS, destinationSettingsRepository, context.getBean("jdbcTemplate2", JdbcTemplate.class), true))
.listener(new GenericStepListener<>(TableNames.SETTINGS, destinationSettingsRepository, 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