Doesn�t beforeCompletion() always gets called, regardless of whether the transaction is committed or rolledback ?
If this it always gets called, then why figure 5 of the Spec (and Crettaz�s Bean LC cheat sheet) shows 2 different paths from �method ready in TX� to �method ready� with one not calling beforeCompletion() ?
[beforeCompletion() will not get called if a system exception is thrown from a business method in which a transaction is excuted.] - I know this. What I meant was it will always be called assuming there is no System Exception. It will always be called if the transaction commits or rolledback.
Is my understanding correct ?
If it is, then why are the diagrams are drawn that way ?