[jboss-user] [JBoss Seam] - @Transactional doubts
pettersonfp
do-not-reply at jboss.com
Tue Nov 27 13:28:24 EST 2007
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
More information about the jboss-user
mailing list