This content has been marked as final.
Show 3 replies
-
1. Re: Container-managed Transaction Demarcation
davidjencks Oct 13, 2001 5:00 PM (in response to franktv)I'm not exactly sure which exceptions trigger a rollback... I kind of think no exceptions you can generate... but I'm not sure. What will force a rollback is calling setRollbackOnly() on the EJBContext you got in the SetEntityContext method (or setSessionContext)
-
2. Re: Container-managed Transaction Demarcation
franktv Oct 15, 2001 10:22 AM (in response to franktv)Thanks for the response David!
I now understand the difference between "System" exceptions and "Application" exceptions ... system exceptions (thrown by the container) cause transactions to be rolled back whereas application exceptions do not ... unless a setRollbackOnly() is called on the bean context. Thanks again! -
3. Re: Container-managed Transaction Demarcation
abuehler Oct 31, 2002 6:21 AM (in response to franktv)Hi, do you know what king of exception are JDBC Exceptions ? Like if i do a RAISERROR in a StoredProcedure or something?! (MSSQL2k)