Hi All, On HFE Page 483, it says "If a transcation is in progress when a method on a BMT bean is called, the transcation is suspended." I think the words "when a method on a BMT" is really a big doubt, even a method on a CMT bean is called, the transcation is still could be suspended, the suspending transaction depeneds on the method's transcation attribute. Anyone could clear my doubt? Thanks a lot in advance.
Alex, Thanks a lot. Your answer relly clear my doubt. Maybe we can do a summary for transaction suspend here, only three situations one transaction will be suspended:
suppose one transaction is in progress: 1) a method on a BMT bean is called. 2) a method on a CMT bean is called, and this method's transaction attribute is 'NotSupported' 3) a method on a CMT bean is called, and this method's transaction attribute is 'RequireNew'
I only can think of this three situations, do you have more situations for transaction which could be suspened?