Hi everyone,
How will the
EJB container handle exceptions thrown by a business method of a bean with container managed transaction demarcation?
For example, if the instance did not call setRollbackOnly(), would the container COMMIT the transaction or ROLLBACK the transaction and Why?
My opinion is that the transaction should be rolledback but I may be wrong.
I understand that if the instance called setRollbackOnly(), the container will rollback the transaction.
TIA,
Saeed