4 Replies Latest reply on Nov 29, 2007 8:29 AM by Petterson Paula

    @Transactional doubts

    Petterson Paula Newbie

      Hello,

      I think I don't understand how @Transactional works.

      If I have a method:

      @Transaction
      public void myMethod() {
      ...
      }
      


      and inside it I throw an exception like:

      @ApplicationException(rollback=true) //the seam @ApplicationException
      public class MyException ...
      


      The transaction shouldn't be rolled back?

      If yes, I don't get this behaviour.

      If no, what I must do to rollback?

      Thanks in advance,

      Petterson