-
Dec 1st, 2012, 10:13 PM
#1
Concurrent Steps and Readers that share a transaction
Hi,
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.
Thanks,
Matt
Tags for this Thread
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules