Apr 29th, 2008, 07:36 AM
Does Spring Batch have a Session like scope?
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.
Apr 29th, 2008, 08:30 AM
Look at some of my posts or "Passing an object between Listener and Writer".
You can implement this by using Listeners, StepExecution and ExecutionContext.