problem with transaction in Session Bean (Container Transactions)

hi,

In my session bean i am calling 4 methods within the for loop .

example:

Session Bean{

businessmethod()

for(int i=0;i<10;i++){

method1();

method2();

method3();

}

}

in the above example method1,method2,method3 are belongs to different session bean .these methods are containing transaction attribute as required.

my problem is :

in iteration 1 of for loop all method are executed successfully, and 2nd iteration also. in 3rd iteration Exception occured in method3.

i do't want to rollback method callings in 1st,2nd iteration.

if it is possible pls guide me to do this

regards

Guru

[699 byte] By [veeru_mca2005@gmail.coma] at [2007-10-3 4:01:33]
# 1

hi,

In my session bean i am calling 4 methods within the for loop .

example:

Session Bean{

businessmethod()

for(int i=0;i<10;i++){

method1();

method2();

method3();

}

}

in the above example method1,method2,method3 are belongs to different session bean .these methods are containing transaction attribute as required.

my problem is :

in iteration 1 of for loop all method are executed successfully, and 2nd iteration also. in 3rd iteration Exception occured in method3.

i do't want to rollback method callings in 1st,2nd iteration.

if it is possible pls guide me to do this

regards

Guru

veeru_mca2005@gmail.coma at 2007-7-14 22:00:47 > top of Java-index,Java Essentials,Java Programming...