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

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

gmail - Is there any documentation for read-only access to the Google Contacts API? -

php - Controller/JToolBar not working in Joomla 2.5 -