posted 13 years ago
I fail to understand why getRollBackOnly () and setRollbackOnly() methods of SessionContext can not be called inside ejbRemove(),ejbCreate(),ejbPassivate(),ejbActivate() methods, where as the UserTransaction reference is accessible. Does it mean that those methods will never run inside a CMT tx but possibly inside Bean managed transaction ?
SCJP 1.4
SCWCD 1.4
SCBCD 1.3
SCDJWS 5
SCBCD 5 (preparing ...)