cache.region.factory_class未显示在hibernate配置建议中



我正在尝试在hibernate中实现二级缓存。在hibernate.cfg.xml文件中,我正在编写以下行

<property name = "cache.region.factory_class"></property>

问题是我的ide在推荐中没有显示cache.region.factory_class。这处房产是被掠夺了,还是我做错了什么?我的hibernate版本是5.6.3

在Hibernate.cfg.xml中,它应该是hibernate.cache.region.factory_class

例如,当使用JCache:时

<property name="hibernate.cache.region.factory_class">org.hibernate.cache.jcache.JCacheRegionFactory</property>

最新更新