• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction Question

 
Tontang Bei
Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Given:
Bean A with transaction attributes of "NotSupported" for all its methods.
Bean B with transaction attributes of "Mandatory" for all its methods.
A client having a transaction context calls a method on bean A, which in turns calls a method on Bean B.

What will take place in above scenario?
 
Rizwan Mohammad
Ranch Hand
Posts: 445
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Since A's method is already in transactin and B mandates to have transaction, B's method also runs in the same transaction context of that of A's.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic