1 Reply Latest reply on Jan 30, 2002 2:23 PM by Tyler Durden

    Ignoring Rollback ( JBoss 2.4.4+Oracle8i )

    Tyler Durden Newbie

      I have one session bean and two BMP entities:

      void SessionMethod(...)
      {
      ...
      BMPEntity_A.create(...) // 1.
      ...
      throw new EJBException("test exception") //2
      ....
      BMPEntity_B.setAttr(...) //3
      }

      I was testing the transactional capabilities of my app. when I discover that it wasn't working :-( . In the previous block of code the row inserted on BMPEntity_A is not rollbacked when the exception occurs. All the EJBs have the "Required" transaction type, I have configured JBoss according to the documentation... what I'm missing?

      thx!
      ::tyler