Make @Transactional rollback on all Exceptions?
Open
Component-Persist
imported
- Dominant language
- Java
- Stars
- 12.7k
- Forks
- 1.7k
- Avg merge
- 11m
- Merged PRs (30d)
- 2
Description
_From [jochen.seeber](https://code.google.com/u/106941232881853106273/) on March 10, 2012 09:45:44_
I was wondering on the decision to have `@`Transactional commit transactions if a checked exception is thrown as the default case. I would think that the vast majority of of use cases would have the transaction rolled back on any kind of exception.
So shouldn't the default case be "rollback on all exceptions"? Or am I missing an important use case here?
_Original issue: http://code.google.com/p/google-guice/issues/detail?id=692_
Contributor guide
Assessment
This issue has not been assessed yet.