I'm new to spring batch. I am trying to formulate a way to do the following.
I have the first driving query Q(a). The result set of Q(a) will drive two dependent queries Q(b) and Q(c). That is, the where clause of Q(b) and Q(c) depend on the result set of Q(a).
I would like to first execute Q(a) and read a set of results. After that I'd like to issue the two dependent queries concurrently. And, I want all of this to happen in one transaction. That is, all of Q(a), Q(b), and Q(c) should happen in the same transaction.
Is this even possible with spring batch?
So far, I suppose Q(a) can happen in a step. After that I can use <flow> to run both of the dependent queries.
Any hints and / or direction would be greatly appreciated.