I sometimes modify data directly in the database and I want to clear the Hibernate second level cache (Infinispan) to reflect that change. I've created a MXBean to do that but wouldn't it be nice if we can do that directly from the AS7 console (jboss-cli, web) ?
The clear action must be available at CacheContainer level (ie clear all caches) and at cache level and take care of clustered caches.
Do you think this is a good idea ? If so how can I help ?