该帖已经被评为精华帖
|
|
---|---|
作者 | 正文 |
发表时间:2006-11-23
默认用的是ehcache。我曾经把一个defaultCache配置成RMI cluster实现的ehcache.xml放到了classpath下,结果在linux下就出现了应用启动错误的问题。hibernate的确在使用ehcache.xml文件,也就是加载了ehcache。 引用 By default, Hibernate uses EHCache for JVM-level caching. (JCS support is now deprecated and will be removed in a future version of Hibernate.) You may choose a different implementation by specifying the name of a class that implements net.sf.hibernate.cache.CacheProvider using the property hibernate.cache.provider_class. 原文:http://www.hibernate.org/hib_docs/reference/en/html/performance.html#performance-cache |
|
返回顶楼 | |
发表时间:2006-12-06
myreligion 写道 默认用的是ehcache。我曾经把一个defaultCache配置成RMI cluster实现的ehcache.xml放到了classpath下,结果在linux下就出现了应用启动错误的问题。hibernate的确在使用ehcache.xml文件,也就是加载了ehcache。 引用 By default, Hibernate uses EHCache for JVM-level caching. (JCS support is now deprecated and will be removed in a future version of Hibernate.) You may choose a different implementation by specifying the name of a class that implements net.sf.hibernate.cache.CacheProvider using the property hibernate.cache.provider_class. 原文:http://www.hibernate.org/hib_docs/reference/en/html/performance.html#performance-cache |
|
返回顶楼 | |