[jboss-user] [EJB 3.0] - Re: Transaction does not rollback
c_eric_ray
do-not-reply at jboss.com
Mon Feb 12 11:23:10 EST 2007
You can annotate a user defined exception as such
| @ApplicationException(rollback=true)
| public class MyException extends Exception {
|
| ...
|
| }
|
This instructs the TM to rollback if this exception is thrown.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4015165#4015165
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4015165
More information about the jboss-user
mailing list