I am using jboss 3.2.3.
I have an entity bean (BMP) with setX(String value) and getX() methods.
I call it from a session bean SB and from a client CL.
1)I call setX(v1) from SB
2)I call getX() from SB and obtain v1
3)I call setX(v2) from SB
4)I call getX() from SB and obtain v2
5)I call getX() from CL and obtain v1
It seems that the client and the session bean are managing two different instances of the bean.
Is it possible? Can anyone help me?
It seems you might have a transaction problem. After step #4 you probably haven't committed your changes.
It's just a guess. good luck and let us know how it goes!
The strange thing is that If I check the db after step 4 I obtain "v2" !!