0 Replies Latest reply on Mar 16, 2007 6:31 PM by jiyanghu

    When and how to start/end a transaction in CMT

    jiyanghu

      I am using 3.2.8SP1 with Oracle 9i. In a stateless bean code will find an entity from an entity bean, then set up some new values for it. But in stateless bean it never explicitly invokes entity bean's store (ejbStore) method. So my question is,

      1. When does CMT start in this case? How does it know it should initiate a new transaction? Does it start from find method in a stateless bean? What is a CMT's boundary?

      2. When is ejbStore() of entity bean called by CMT? Thanks!