Which mechanism can be used to learn if an application exception has resulted in a tx being rolled back ???
Correct ans given :- The bean provider can specify which exceptions will mark a tx for rollback before the exception is throw .. HOW .....
By invoking setRollbackOnly().
In case of a checked exception, and if the bean provider knows that such exception will cause the transaction to end badly, it's the bean provider's responsibility to invoke setRollbackOnly before rethrowing the exception. (HF p.542)