Does the container always roll-back the transaction (or at least mark the transaction for roll-back)? Even whith BMT beans?
What do you mean by "always"? Transactions will only rollback when there are unexpected events happened. For BMT, the container will not help you to rollback the transactions, you need to explicit declare that the transaction is rollback by ut.rollback(), where ut is an object of UserTransaction.
Sorry Nick, I wasn't very clear in my question (I think that's the stress because I have the exam today). I actually ment: Does the container always roll-back the transaction (or at least mark the transaction for roll-back) when a System exception is thrown ?
Sorry for my previous question... Thx 4 the reply thou
"You don't need eyes to see, you need vision" -- Faithless
it's a teeny, tiny, wafer thin ad:
Devious Experiments for a Truly Passive Greenhouse!