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

Reply via email to