mybatis-ehcache-1.0.0-reference

合集下载
相关主题
  1. 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
  2. 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
  3. 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。

MyBatis EHCache integration-Reference

Documentation

The MyBatis Community()

Copyright©2010

Copies of this document may be made for your own use and for distribution to others,provided that you do not charge any fee for such copies and further provided that each copy contains this Copyright Notice,whether

distributed in print or electronically.

1.The MyBatis EHCache integration (1)

1.1.How to (1)

Chapter1.The MyBatis EHCache integration

1.1.How to

EHCache is a widely used java distributed cache for general purpose caching,Java EE and light-weight containers.

The EHCache integration is built on top of the ehcache-core and comes without any EHCache3rd part applications.Please refeer to official EHCache documentation if you need plugins.

Users that want to use EHCache into their applications,have to download the1.0.0zip bundle,decompress it and add the jars in the classpath;Apache Maven users instead can simply add in the pom.xml the following dependency:

then,just configure it in the mapper XML

If users need to log cache operations,they can plug the Cache logging version:

Users that need to configure EHCache through XML configuration file,have to put in the classpath the /ehcache.xml resource;please refeer to the official EHCache documentation to know more details.

If the/ehcache.xml resource is not found or something goes wrong while loading it,the default configuration will be used.

相关文档
最新文档