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?
I'm using JBoss 3.0.0. This problem occurs with EJB20. All was fine with JBoss 2.4.x and EJB11