|
From: <rod...@in...> - 2004-02-05 09:10:57
|
>In general, I see hardly any use cases for rolling back without throwing an exception anyway. If you want to roll back on checked exception, simply specify those in the transaction attributes, e.g. "-MyCheckedException". +1. This is important for non-invasiveness. You want to try avoid depending on Spring tx api if you can. With Spring rollback rules you can avoid such dependence; with EJB CMT you can't. |