M
marko
Let's say I have this situation:
Bean1{
someMethodA(){
someMethodB();
}
Bean2
ejb.transaction = "requiresNew"
{
someMethodB();
}
Transaction TX1 starts by calling someMethodA(), and that that transaction
is stopped when someMethodB() is called because of the requiresNex
attribute, right ?
I want to know when TX1 is suspended because od TX2 is created what about
duration od TX1. If my transaction timeout for BEAN1 is set to 120 sec, and
TX2 last for let's say 121 sec, what is going to happen ?
Thanks.
Bean1{
someMethodA(){
someMethodB();
}
Bean2
ejb.transaction = "requiresNew"
{
someMethodB();
}
Transaction TX1 starts by calling someMethodA(), and that that transaction
is stopped when someMethodB() is called because of the requiresNex
attribute, right ?
I want to know when TX1 is suspended because od TX2 is created what about
duration od TX1. If my transaction timeout for BEAN1 is set to 120 sec, and
TX2 last for let's say 121 sec, what is going to happen ?
Thanks.