Announcement Announcement Module
Collapse
No announcement yet.
Spring batch | Avoid persisting job parameters to database Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring batch | Avoid persisting job parameters to database

    Hi,

    Is it possible to specify (via property) that the job parameters needn't be persisted to database.

    If we pass a string of length > 2500 or something, the job fails as the string length in BATCH_JOB_PARAMS table is less. And we dont want to increase the length every now and then as we are sure that however high it might be, it can fail at one point.

    Thanks,
    Gayathri

  • #2
    Not to my knowledge, but I may be wrong. Would using a memory db like h2 meet your needs? BTW one of the main purposed of the db is allowing for recovery, restart, and shutdown ...

    Comment


    • #3
      Hi,

      Thanks for the reply.
      We use sql server db. We will go ahead with increasing the string length in the BATCH_JOB_PARAMS table as of now.

      Thanks,
      Gayathri

      Comment

      Working...
      X