java - Refresh Hibernate cache across the contexts -
i have 2 context on single tomcat pointing same database. using ehcache 2nd level caching hibernate. now, when create/update/delete operation on database, reflect in contect1 cache update in contecxt2 cache, took 15-20 min. can't use refresh/clear function in context2 don't know when refresh.
how can refresh context2's hibernate cache when there update happened through context1?
also clustering hibernate cache, need give ip address , port number, in case, both same 2 contexts. think can't use hibernate cache clustering.
Comments
Post a Comment