My method calls are like follow.
@TransactionAttribute(TransactionAttributeType.SUPPORTS
void M1() {
M2();
M3();
}
@TransactionAttribute(TransactionAttributeType.REQUIRED)
void M2(){
//saving x on data base
}
@TransactionAttribute(TransactionAttributeType.SUPPORTS)
void M3(){
//accessing x from data base
}
The issue is, some times value x is unavailable at method M3.
Can any body say whats the possible issue here ?