Uploaded image for project: 'Ignite'
  1. Ignite
  2. IGNITE-2448

Ignite based second level cache for MyBatis

    XMLWordPrintableJSON

Details

    • New Feature
    • Status: Closed
    • Major
    • Resolution: Fixed
    • None
    • 1.5.0.final
    • None

    Description

      MyBatis [1] has a concept of a second level cache.

      It makes sense to implement a module that will allow to use Ignite as a second level cache for this framework.

      In particular the following has to be done:

      • introduce ignite-cache module that will be located in MyBatis GIT repository [2]
      • implement MyBatis Cache interface [3]
      • there should be configs inside of the module for different exemplary cases (server node with a single local cache; server node that is a part of some cluster and caches mybatis data in replicatred or partitioned cache; client nodes that connects to the cluster and works with the cache);
      • add documentation about the integration on Ignite readme.io
      • as a reference you may refer to Hazelcast [4] or other implementation

      More on caches in MyBatis
      http://www.mybatis.org/mybatis-3/sqlmap-xml.html#cache

      [1] http://www.mybatis.org/
      [2] https://github.com/mybatis/
      [3] https://github.com/mybatis/mybatis-3/blob/master/src/main/java/org/apache/ibatis/cache/Cache.java
      [4] https://github.com/mybatis/hazelcast-cache

      Attachments

        Activity

          People

            shroman Roman Shtykh
            dmagda Denis A. Magda
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: