Hi,
On session 13.6.1 Bean Managed Transaction Demarcation of JSR 318 specification, on p.367,
if the client request is associated with a transaction T1 and the instance is not associated with a transaction, the container suspends the client's transaction association and invokes the method with an unspecified transaction context.
and
If the client is associated with a transaction T1, and the instance is already associated with a transaction T2, the container suspends the client's transaction association and invokes the method with the transaction context that is associated with the instance T2.
My question is what type of transaction management of T1 ?
Is T1 container managed transaction or bean managed transaction?
For sure, T2 is a bean managed transaction.
(I guess T1 is container managed. According to Head First EJB 2.0, a bean managed transaction won't allow other transactions associations.
I guess if T1 is a bean managed transaction, T1 won't allow T2 to associate with T1. )