This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Spring batch commit rollback problem Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Frameworks » Spring
Bookmark "Spring batch commit rollback problem" Watch "Spring batch commit rollback problem" New topic
Author

Spring batch commit rollback problem

Kousik Majumder
Ranch Hand

Joined: Sep 30, 2007
Posts: 229
Hi all,

I am using spring batch 2.0 with hibernate 3.2.
My requirement is if there are 100 records to process and exception occurs at 23rd, 50th and 88th record then only those 3 record will be rollbacked but rest will be processed.
How do I achieve that.
Please provide some code.


Thanks in Advance,
Kousik
 
 
subject: Spring batch commit rollback problem
 
Similar Threads
Batch Update by passing Inparameters in JDBC Template
Newbie Spring Question
Spring Batch: Commit-Interval not honored after roll back during write
Building A Spring Batch Application using MAVEN/Eclipse
Batch Schedulers