Danch, Thanks for responding. We're very concerned about this bug because we're going into production this month. Yes, we're using CMP/JAWS. What do you mean by ejbFindByPrimaryKey? We call home.findByPrimaryKey all over the place and it works. The problem is that I can't seem to duplicate the problem. Again, the problem corrected itself after a few minutes of idle time. I'm guessing the EntityContext got passivated(thrown out of the cache, right?) and when it got activated again, everything was hunky-dory. Any suggestions? Do you think commit-option 'C' will alleviate the problem? What's the advantage of commit option 'B' anyways with CMP and JAWS? TIA, Bill > -----Original Message----- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]On Behalf Of danch > Sent: Tuesday, June 05, 2001 11:01 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Re: [JBoss-dev] Serious Bug? EntityBean out of > synch with database. > > > This sounds _very_ like the problem Andre Vermeulen has reported. Just > to confirm, you are using CMP, correct? Also, can you verify that > ejbFindByPrimaryKey _does_ work? > > Bill Burke wrote: > > > All, Please help, > > > > > > > > We experienced some very strange behaviour. A queried EntityBean via a > > findBy column method had the wrong data within it. It actually had the > > data from a different EntityBean. Querying the database > directly showed > > that the database had the correct data within it. Even stranger, this > > problem went away after a few minutes. > > > > > > > > My guess is that the EntityBean instance somehow got populated with bad > > data and after a few minutes, got passivated( or whatever) out of the > > bean cache. What I don't get is that I'm using commit option 'B' for > > entity beans. Shouldn't the EntityBean be re-loaded from the database > > at the start of any transaction? > > > > > > > > Machine stats: > > > > > > > > dual CPU 800Mgz Intel running RedHat 6.2 > > > > JBoss 2.2.1 > > > > Sun's jdk1.3.0.0.2 > > > > commit option 'B' > > > > > > > > I know this is a JBoss-User question/problem, but I view this as a > > really serious problem that needs close scrutiny. > > > > > > > > Thanks, > > > > > > > > Bill > > > > > > > > _______________________________________________ > JBoss-user mailing list > [EMAIL PROTECTED] > http://lists.sourceforge.net/lists/listinfo/jboss-user > _______________________________________________ JBoss-user mailing list [EMAIL PROTECTED] http://lists.sourceforge.net/lists/listinfo/jboss-user
