7 Replies Latest reply on Oct 3, 2002 11:35 AM by Joe

    Transaction error handling

    Joe Newbie

      Dear all,

      I try to capture error and throw as an application error. But the EJB will not do rollback in this case. I have tried to use setRollBackonly() only to do the rollback but still application error cannot be throw. (I guess setRollback() will throw runtime error also).

      How can I rollback the transaction with throwing application error since I need to throw my own error code?

      Thanks a lot

      Joe