This week's book giveaway is in the OCMJEA forum.
We're giving away four copies of OCM Java EE 6 Enterprise Architect Exam Guide and have Paul Allen & Joseph Bambara 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 OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA 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
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Spring batch commit rollback problem