Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

ejbPostCreate in Oracle iAS/R2 : reentrant problem  RSS feed

 
JC Castiaux
Greenhorn
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
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 ?

Thank you for your answer,
JCC
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!