Announcement Announcement Module
Collapse
No announcement yet.
Does Spring Batch have a Session like scope? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • 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

  • #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.

    Comment

    Working...
    X