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