This week's book giveaway is in the Mac OS forum.
We're giving away four copies of a choice of "Take Control of Upgrading to Yosemite" or "Take Control of Automating Your Mac" and have Joe Kissell 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


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
 
GeeCON Prague 2014
 
subject: Spring batch commit rollback problem