Update BillingConfiguration.java
Explicit return types should be consistent across both the reader and the writer.
This commit is contained in:
@@ -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)
|
||||||
|
|||||||
Reference in New Issue
Block a user