Writing List of Items using JdbcBatchItemWriter
问题 Currently i am using JpaItemWriter to write the list of objects as below which is working fine. Now i want to change the JpaItemWriter to JdbcBatchItemWriter due to performance issue. public class MyItemWriter implements ItemWriter<List<MyDomainObject>> { @Override public void write(List<? extends Lists<MyDomainObject>> items) { JpaItemWriter<MyDomainObject> writer = new JpaItemWriter<>(); for(List<MyDomainObject> o : items) { writer.write(o); } } } Suggest a sample snippets which uses the