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)
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!
Hi, do you know what king of exception are JDBC Exceptions ? Like if i do a RAISERROR in a StoredProcedure or something?! (MSSQL2k)