Announcement Announcement Module
No announcement yet.
Read and process multiple stored procedures Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Read and process multiple stored procedures

    New to spring batch here.

    I have a basic setup that includes:
    1. StoredProcedureItemReader to get a result set which maps to Employees.
    2. I process parts of the Employees with my processor.
    3. Write the results out to a file.

    Now I want to call another stored procedure using a value from my Employee object to call that procedure for each Employee and write those results out to the file as well.

    Would I call the second stored procedure in the processor? What type of syntax would that be?