Actually you cannot make a getRollBackOnly() call in a business method which has its transaction attribute set to "support" because you are never sure this method will be in a transaction. It can be in an "unspecified transaction context".
In general you can never call getRollbackOnly() in a business method which has its attribute set to supports, not supported, never. For this reason all the methods of a CMP must not have any methods with that kind of transaction attribute.
posted 15 years ago
Thanks, <br />Prashant<br />SCJP, SCBCD
If you send is by car it's a shipment, but if by ship it's cargo. This tiny ad told me:
Devious Experiments for a Truly Passive Greenhouse!