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

Popular posts from this blog

user interface - how to replace an ongoing process of image capture from another process call over the same ImageLabel in python's GUI TKinter -

javascript - Using jquery append to add option values into a select element not working -

javascript - Restarting Supervisor and effect on FlaskSocketIO -