Update BillingConfiguration.java

Explicit return types should be consistent across both the reader and the writer.
This commit is contained in:
schesa
2020-07-02 16:08:42 +03:00
committed by Glenn Renfro
parent 85a35cc592
commit 06da4e8a7c

View File

@@ -89,7 +89,7 @@ public class BillingConfiguration {
} }
@Bean @Bean
public ItemWriter<Bill> jdbcBillWriter(DataSource dataSource) { public JdbcBatchItemWriter<Bill> jdbcBillWriter(DataSource dataSource) {
JdbcBatchItemWriter<Bill> writer = new JdbcBatchItemWriterBuilder<Bill>() JdbcBatchItemWriter<Bill> writer = new JdbcBatchItemWriterBuilder<Bill>()
.beanMapped() .beanMapped()
.dataSource(dataSource) .dataSource(dataSource)