1 Reply Latest reply on Sep 2, 2006 1:25 PM by kconner

    EJB3 transaction

    peyrusaubes

      I've developed a EJB3 session bean.
      One of its method uses a Required transactional attribute, and its
      implementation delegates to data access object the database modification.
      the dao get the connection from a datasource.
      If one of this dao fire an exception, the transaction should be rolled back, but it isn't..
      Something wrong somewhere ?

        • 1. Re: EJB3 transaction
          kconner

          That depends on the exception. Application exceptions do not cause a rollback as the application is assumed to have dealt with any issues before throwing the exception.