By bloid
via mikedesjardins.us
Published: Oct 10 2008 / 01:33
Recently, I wanted to be able to clear out all of the Hibernate caches via JBoss's JMX console. I could have taken the easy way out; we're using EHCache, so it could have been as simple as calling CacheManager.clearAll(). However, that would have tied me to a specific cache provider. We're still evaluating switching to other cache providers. Ideally, my solution would not be dependent on a specific cache implementation.
Add your comment
Voters For This Link (12)
-
bloid -
mdesjardins -
mgardner -
mswatcher -
rsmaniak -
fenrir -
aruggles -
davejcherry -
betrayal -
mcakkan -
ikysil -
thinkingserious