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

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

Android soft keyboard reverts to default keyboard on orientation change -

Rendering JButton to get the JCheckBox behavior in a JTable by using images does not update my table -