• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Transaction propagation with BMT

 
Ankit Doshi
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
HFEJB/spec says - No transaction propagates into the BMT bean - this is talking more in terms of beans, not individual methods.

The question is what if a client calls the method methodA over a BMT bean > methodA starts a new transaction > methodA in turn calls methodB of the same bean. Will this BMT transaction, started in methodA, propagate to methodB?
 
Marcelo Ortega
Ranch Hand
Posts: 528
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
The only transaction a BMT bean will run in, is one that the bean itself creates (we are talking bean wise/scope here, not method wise).

hth,
Mars.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic