ehcache - Finding out what Cache Hibernate is using? -


is there fail safe way 100% sure cache hibernate using? i.e using ehcache of else? thanks.

string cacheintegrationname = ( (sessionfactoryimplementor) sessionfactory )     .getsettings()     .getregionfactory()     .getclass()     .getname(); 

of course hibernate logs "something". enable debug logging org.hibernate.cfg.settingsfactory logger , "cache region factory : xyz"


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -