Announcement Announcement Module
Collapse
No announcement yet.
How to pass an array or collection job parameter? Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • How to pass an array or collection job parameter?

    I have a job that gets kicked off by a web page that passes in job parameters based on user input. I use the JpaPagingItemReader with the query string refering to the query parameters that are set as job parameters. I am now tasked with passing an array of longs that have to be passed in as a query parameter, the problem is the api for job parameter does not support passing in arrays. Is there any other way I could pass in this array and refer to it in my query string?

  • #2
    I'm not sure how do you use the job parameters but you can pass them as comma separated string and then convert it to array.

    Comment

    Working...
    X