Is there a Mongo-based job repository for Spring Batch? If not, would I need to implement JobInstanceDao
and its siblings? Are there any examples or existing works that would help in this endeavor?
Asked
Active
Viewed 4,631 times
6

RubyTuesdayDONO
- 2,350
- 2
- 25
- 37
-
1Great question, i'd be interested to find out too.. – ltfishie Feb 11 '12 at 00:03
-
I would use SpringBatch over HSQL DB: more robust and proved solution. You want to share Mnogo DB with other project components? – dma_k Feb 12 '12 at 14:02
-
@dma_k - i'd be willing to try the HSQL since it's got a good track record, but my other components use mongoDB and i like the document-oriented and javascript-powered capabilities – RubyTuesdayDONO Feb 13 '12 at 15:52
-
1@dma_k I'd be willing to wager that writing queries based on the job execution params table would be significantly cleaner against a document database than a relational one. – user2910265 Oct 10 '14 at 02:29
2 Answers
6
there is a https://github.com/jbaruch/springbatch-over-mongodb project, it looks discontinued, but it might give you a better start

Michael Pralow
- 6,560
- 2
- 30
- 46
2
I have a github project which enhanced JBaruch's Springbatch-over-mongodb to newer versions of
- Spring framework (4+)
- Spring-batch (3+)
- Mongo DB driver: 2.11.2
https://github.com/vfouzdar/springbatch-mongoDao
Though I have tested it and have a upgraded almost all of junits from JBaruch's project but it is still under BETA phase. If somebody is interested then s/he can give a try.

Vaibhav Fouzdar
- 199
- 1
- 4