Win a copy of The Way of the Web Tester: A Beginner's Guide to Automating Tests this week in the Testing forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

ejbPostCreate in Oracle iAS/R2 : reentrant problem

JC Castiaux
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
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 ?

Thank you for your answer,
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic