0 Replies Latest reply on Jul 16, 2002 7:23 PM by jc

    strange transaction propagation behavior

    jc Newbie

      Hi,

      I'm invoking one entity bean method from another entity bean. Both beans use CMT with Required attribute. After the invocation of the outer bean method, I expect its ejbStore() method to be called. But instead, only the inner bean's ejbStore() is called. The behavior is illustrated below:

      pseudo code:
      ============
      public void entity1.m1() {
      // some code 1
      entity2.m2();
      // some code 2
      }

      actual execution sequence:
      ==========================
      // some code 1
      entity1.ejbStore()
      entity2.m2()
      // some code 2
      entity2.ejbStore()

      my question:
      ============
      Why is entity1.ejbStore() not called after "some code 2"? Are there any transaction parameters I didn't setup properly?

      my setup:
      =========
      jboss-3.0.0 on NT4
      MSSQL database, using the provided mssql-service.xml, modified connection url, uname, passwd only.

      Thanks in advance.