Announcement Announcement Module
No announcement yet.
Spring Batch Transaction error Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring Batch Transaction error

    Im using SpringBatch 2.1.7 release core and Infrastructure jars to read a CSV file and save it to DB.

    Integrated my code with Spring quartz scheduler to run for every minute, The Batch is working fine with reading and writing but its failing with the error "org.springframework.dao.OptimisticLockingFailureE xception: Attempt to update step execution id=1 with wrong version (2), where current version is 1"

    due to Tx conflicts. Please suggest how can i resolve this issue.