Originally posted by V.N.T.Deepak Solasa:
I am using ejb3.0,I have one entity bean .Suppose ,if i open 2 browsers parallely and in one browser i am trying to do update my record by using edit functionality using entityManager.merge(),the value getting updated in the entity.Now if i am trying to view the same record in another browser which is already opened the entity is showing the old value instead of the new value.ofcourse i have done this even by refreshing the page .
please suggest me
It can be somewhere on the lines of, the update not committed yet, or the retrieval is getting it from a cache or buffer. If you close the 2nd browser and reopen it instead of just refreshing it, does the new data come out?