Problem with entity data synchronization
How things going?
I have a problem with maintaining entity states which probably is very common,
Sometimes I end with entities which are not up to date,
This is usually happening when I work with entities that were already updated by other entity managers on the same time,
I was thinking that re-loading entities in places I must have the most updated data will solve the problem,
but even re-loading the data(by calling entityManager.find(class,id)... still loads the same old data,
How is the right way to solve this problem?