Hi all,
I am using JPA with hibernate in a stateless session been and and that bean is called from a
servlet. I am using CMP and when ever a roll back occurs it is thrown back to the servlet as a EJBException. My problem is, since EJBException is thrown for other reasons as well, how to figure out whether it was thrown for a roll back or some other reason. At the same time, can't we catch the Transaction aborted exception in the
EJB. I tried using RuntimeException in the catch clause, but it didn't work. Anticipating a reply. Thanks.