This content has been marked as final. 
    
Show                 2 replies
    
- 
        1. Re: rollback problem with some RequiresNewmmqwertz Dec 5, 2003 9:50 AM (in response to mmqwertz)"mmqwertz" wrote: 
 Sorry, my fault!
 I called a local method using
 this.increaseBalance() inside a CMP Entity Bean, so there was no possibility for the container to create a new Transaction for Method "increaseBalance()" in this case!
- 
        2. Re: rollback problem with some RequiresNewaalmero Jan 8, 2004 11:18 AM (in response to mmqwertz)"aalmero" wrote: 
 Hi !
 I tried to use CMT on my EJB but did not get rollback when i have forced one method to error.
 Client (without transaction) calls
 |
 |
 Method1 (with transaction attribute RequiresNew)
 |
 |
 Method2 (with transaction attribute Required)
 |
 Method2 returns with error.
 |
 |
 Method3 (with transaction attribute Required
 |
 Method3 returns without error.
 error in Method2 should cause a rollback of Method1, but it did not happend at all.
 Please advise as how it is done. Is there anythinh i need to do with my code?
 Thanks
 
    