问题
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