[JBoss-user] [EJB 3.0] - Re: Transaction does not rollback

2005-12-21 Thread [EMAIL PROTECTED]
application defined exceptions to not rollback the current transaction. You 
need to use the context setRollbackOnly to achieve this effect.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913798#3913798

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913798


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: Transaction does not rollback

2005-12-21 Thread [EMAIL PROTECTED]
You could throw an exception that is marked with 
@ApplicationException(rollback=true) instead of just throwing a generic 
Exception.  The container will mark the tx for rollback without you needing to 
inject SessionContext.

View the original post : 
http://www.jboss.com/index.html?module=bbop=viewtopicp=3913823#3913823

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3913823


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637alloc_id=16865op=click
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user