You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ignite.apache.org by "Denis Magda (JIRA)" <ji...@apache.org> on 2016/01/25 17:13:39 UTC

[jira] [Created] (IGNITE-2448) Ignite based second level cache for MyBatis

Denis Magda created IGNITE-2448:
-----------------------------------

             Summary: Ignite based second level cache for MyBatis
                 Key: IGNITE-2448
                 URL: https://issues.apache.org/jira/browse/IGNITE-2448
             Project: Ignite
          Issue Type: New Feature
            Reporter: Denis Magda


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



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)