• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

Transaction propagation with BMT

 
Ranch Hand
Posts: 222
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
Ranch Hand
Posts: 528
Hibernate Eclipse IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
reply
    Bookmark Topic Watch Topic
  • New Topic