I'm a bit cloudy about some aspects of transaction propagation.
EJB does not support nested transactions so that
public void go() {
UserTransaction ut = context.getUserTransaction();
ut.begin();
doStuff();
ut.begin;
...... etc
is an illegal nested transaction.
But what if you have 2 objects each has a method with a transaction demarcation and one object's method calls the objects other method. Is this an illegal nested transaction or an example of transaction propagation. As far as I understand a BMT bean can propagate into another transaction or can it?. Can anyone clear this up for me.
Thanks.