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

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108187#4108187

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108187
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to