Not a hibernation problem, from what I see. I would say that this is more about caching. Therefore, I would recommend looking at some distributed caches, especially Infinispan . Thus, both applications can use and manipulate the same cache. If you just use Hibernate, but the caches are still on different machines with different states, then you will encounter the same problem.
source
share