This content has been marked as final.
Show 1 reply
-
1. Re: TRANSACTION testing
dsundstrom Jul 31, 2002 7:44 PM (in response to a13519)I'd use a JUnit test case. Start a user transaction that runs your code that causes a rollback, and check the results outside the rollback.
If you want to cause a random rollback, add an interceptor the the ejb invocation stack that randomly causes a rollback.