Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

NoCacheProvider class alternative in Hibernate 4

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!

like image 470
sidlejinks Avatar asked Sep 16 '13 10:09

sidlejinks


1 Answers

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

like image 168
Steve Ebersole Avatar answered Nov 15 '22 06:11

Steve Ebersole