Originally posted by Scott Selikoff:
The transactional XML attributes only come into play if you are using Container Management Transactions (CMT). If you are creating/starting transactions on your own, or bean managed transaction (BMT), the behavior is completely up to you.
Yes i get that. But my question is, I am calling a method which has CMT inside a method (in a separate class) which is under Usertransaction. Then it should join User transaction right ?
In summary i am trying to figureout "Will calling EnitiyBean create() method which is under CMT; will join User transaction if its called from that transaction ?"
ClassA {
UT.begin
ejbCreate();
UT.end
}
//Under CMT
EntityBeanClassB {
ejbCreate();
}
[ July 10, 2008: Message edited by: jigara shah ]