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
Post a Comment