[jboss-user] [EJB 3.0] - Re: Transaction is not active after rollback
jc7442
do-not-reply at jboss.com
Mon Aug 13 10:00:58 EDT 2007
When an exception is thrown in a session bean, container rollback the transaction. You can change that using the ApplicationException annotation in your Excpetion code. This annotation has an attribute rollback:
@ApplicationException(rollback=false)
| public class AuditLockException extends AuditException {
| ...}
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073562#4073562
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073562
More information about the jboss-user
mailing list