Parse-load huge XML using Spring Batch framework

∥☆過路亽.° 提交于 2019-12-12 04:57:59

问题


I want to parse huge file with XML data and insert records into SQL server 2008. Database connection/Data insertion is managed by product framework. I read XML data, validate it, create object and pass it to framework for insertion.

I am planning to divide XML file into small files, parse it using parser threads and run parallel load using different threads.

I am new to Spring framework. How can I do this using Spring Batch framework? Do I need to divide file in Spring Batch? Will I be able to load data parallely?

来源:https://stackoverflow.com/questions/25207412/parse-load-huge-xml-using-spring-batch-framework

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!