Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/spring/14.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
如何使用Hibernate 3.6.3在Spring 3.0.2中将Ehcache迁移到Infinispan缓存?_Spring_Hibernate_Ehcache_Infinispan - Fatal编程技术网

如何使用Hibernate 3.6.3在Spring 3.0.2中将Ehcache迁移到Infinispan缓存?

如何使用Hibernate 3.6.3在Spring 3.0.2中将Ehcache迁移到Infinispan缓存?,spring,hibernate,ehcache,infinispan,Spring,Hibernate,Ehcache,Infinispan,我面临Ehcache的性能问题。我相信迁移到Infinispan缓存将解决性能问题。我该怎么做 我们在类net.sf.ehcache.Cache.get(Serializable)中面临性能问题 请查找以下配置: 图书馆: hibernate3.jar hibernate-core.3.6.3.jar spring 3.2.0罐 <prop key="hibernate.cache.provider_class"> org.hibernate.cache.EhCacheProvide

我面临Ehcache的性能问题。我相信迁移到Infinispan缓存将解决性能问题。我该怎么做

我们在类net.sf.ehcache.Cache.get(Serializable)中面临性能问题

请查找以下配置:

图书馆:

hibernate3.jar hibernate-core.3.6.3.jar spring 3.2.0罐

<prop key="hibernate.cache.provider_class">
org.hibernate.cache.EhCacheProvider
</prop>
<prop key="hibernate.cache.use_query_cache">true</prop>
<prop key="hibernate.cache.use_second_level_cache">
true
</prop>
<prop key="hibernate.cache.use_structured_entries">
true
</prop>

org.hibernate.cache.EhCacheProvider
真的
真的
真的

您好,您能缩小问题的范围吗?请随意关注——这是一个典型的“过于宽泛”的例子,不太可能得到任何有用的答复。当你提出问题时,一定要确保问题的范围足够窄,以便让读者了解你的用例和你已经尝试过的内容。正如alreayd所指出的,你的问题非常广泛。然而,我已经使用ehcache很多年了,最近使用了infinispan(因为它允许JVM重启之间的持久性),对于我的数据集来说,性能的提高并不是很明显。是的。请说明性能问题,以便我们可以帮助您?直接跳转到其他框架是一个强有力的举动。我们在类net.sf.ehcache.Cache.get(Serializable)中遇到了性能问题。请查找以下配置。