NoCacheProvider class alternative in Hibernate 4

怎甘沉沦 提交于 2019-12-12 10:31:35

问题


I've just realized that there is no org.hibernate.cache.internal.NoCacheProvider class in Hibernate 4 Core packages. Maybe it is deprecated. So is there any alternive for Hibernate 4? Thank you in advance!


回答1:


CacheProvider SPI has been deprecated for quite a long time now (since 3.3 iirc). org.hibernate.cache.internal.NoCachingRegionFactory is the "no caching" equivalent in the new CacheRegionFactory SPI



来源:https://stackoverflow.com/questions/18825643/nocacheprovider-class-alternative-in-hibernate-4

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!