> I'm using JBoss3.0.0 with tomcat 4.0.3 and SQL Server 2000. > I have a strange problem in this scenario: > Session Bean methodA()-->BMP1 methodB()-->BMP2 methodC(). > I found that ejbStore() of BMP1 was called in middle of methodB() just before I > lookup and call BMP2,so the rest code of methodB() was not persistent to DB.I > have deployed the same code on J2EE RI and Weblogic 6.1, and both runs well.Is > this a JBoss bug or am I wrong somewhere?
The reason that ejbStore is called (on BMP1) before doing the find of BMP2, is that because finders are executed against the DB, its imperitive that all current state is written out to the database. What should be happening, is that ejbStore is called on BMP1, and then at the end of methodA(), ejbStore should be called again (on BMP1 and BMP2). Are you sure this isn't happening? cheers dim _______________________________________________________________ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user