I've just made a comment in that link, but essentially, it should be Hibernate who, independent of the cache provider, should provide such API to clear all caches in a session factory. I've opened a dev discussion in the Hibernate mailing list.
Reply to this message by going to Community
Start a new discussion in JBoss Cache at Community