MyBatis Ignite Integration - Reference Documentation

Apache Ignite is a high-performance, integrated and distributed in-memory platform for computing and transacting on large-scale data sets in real-time, orders of magnitude faster than possible with traditional disk-based or flash technologies.

Users who want to use Apache Ignite in their applications as a 2nd level cache have to download the zip 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, configure it in the mapper XML

<mapper namespace="org.acme.FooMapper">
  <cache type="org.mybatis.caches.ignite.IgniteCacheAdapter" />

and configure your Ignite cache in config/default-config.xml by specifying the properties of "templateCacheCfg" bean (Basic reference configurations are available here.) If config/default-config.xml is not available, the cache is started with the default settings.

For more details, please see Apache Ignite docs or ask in the mailing list.