ejbPostCreate in Oracle iAS/R2 : reentrant problem
posted 13 years ago
I am working with Oracle iAS/R2. I have two entity beans (let's say A and B). These are CMP entities. In the ejbPostCreate of A, I modify some fields of A and call the ejbCreate of B. In the ejbPostCreate of B, I try to instanciate the A bean (findByPrimaryKey with the primary key of the newly created A bean). The instance that I receive does not contain the updates done on the fields before calling ejbCreate of bean B. The two beans are marked "reentrant" in the ejb-jar.xml. I guess I receive the second time another copy of bean B. We were working with JBoss3.0 before and had no problem with this. Is this behaviour compliant with J2EE1.3 ? What about other Application Servers ?