1 Reply Latest reply on Jul 25, 2002 9:35 AM by czawadka

    Nested entity causes to don't store caller entity?

    czawadka

      I have following call sequence:

      SessionBean.business_method
          call EntityBean1.business_method
              call EntityBean2.create()
                  call EntityBean3.business_method
              call EB1.cmp_field_setter

      After all EB1 cmp_field is not set and database field is empty too.

      I've turned on TRACE logging and see that before calling EB2.create() CMP container is trying to store EB1 (due to EJB spec?). But at the end of transaction (end of SB.business_method) CMP engine is trying to store EB3 and EB2 but not EB1 so cmp_field stays empty.

      Any help?