-
Apr 29th, 2008, 07:36 AM
#1
Does Spring Batch have a Session like scope?
Hi,
Is there a way to place an object in session or job scope? I'd like to reuse data that will be referenced by multiple steps. Is there a way to achieve this?
If this solution doesn't exist I can store this data in a stage table and reference it from my read query for each step.
Thanks,
Brad
-
Apr 29th, 2008, 08:30 AM
#2
Look at some of my posts or "Passing an object between Listener and Writer".
You can implement this by using Listeners, StepExecution and ExecutionContext.
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