Originally posted by Lionel Orellana:
No Alfred
You call EJBContext.getRollBackOnly() when you want to find out if the transaction has been marked for rollback ...
Ok, I am confused here :roll:
EJBContext.getRollBackOnly() is for CMT only. It means, only container can call this method, right? If only container can call it then it is a container callback. (may be i am more confused than you initially thought

)
Please correct me.