Summer MyBatis Redis Cache

MyBatis Redis Cache

Лицензия

Лицензия

Категории

Категории

Redis Данные Базы данных MyBatis ORM
Группа

Группа

me.chyxion.summer
Идентификатор

Идентификатор

summer-mybatis-redis-cache
Последняя версия

Последняя версия

0.0.1-RELEASE
Дата

Дата

Тип

Тип

jar
Описание

Описание

Summer MyBatis Redis Cache
MyBatis Redis Cache
Ссылка на сайт

Ссылка на сайт

https://github.com/chyxion/summer-mybatis-redis-cache
Система контроля версий

Система контроля версий

https://github.com/chyxion/summer-mybatis-redis-cache

Скачать summer-mybatis-redis-cache

Как подключить последнюю версию

<!-- https://jarcasting.com/artifacts/me.chyxion.summer/summer-mybatis-redis-cache/ -->
<dependency>
    <groupId>me.chyxion.summer</groupId>
    <artifactId>summer-mybatis-redis-cache</artifactId>
    <version>0.0.1-RELEASE</version>
</dependency>
// https://jarcasting.com/artifacts/me.chyxion.summer/summer-mybatis-redis-cache/
implementation 'me.chyxion.summer:summer-mybatis-redis-cache:0.0.1-RELEASE'
// https://jarcasting.com/artifacts/me.chyxion.summer/summer-mybatis-redis-cache/
implementation ("me.chyxion.summer:summer-mybatis-redis-cache:0.0.1-RELEASE")
'me.chyxion.summer:summer-mybatis-redis-cache:jar:0.0.1-RELEASE'
<dependency org="me.chyxion.summer" name="summer-mybatis-redis-cache" rev="0.0.1-RELEASE">
  <artifact name="summer-mybatis-redis-cache" type="jar" />
</dependency>
@Grapes(
@Grab(group='me.chyxion.summer', module='summer-mybatis-redis-cache', version='0.0.1-RELEASE')
)
libraryDependencies += "me.chyxion.summer" % "summer-mybatis-redis-cache" % "0.0.1-RELEASE"
[me.chyxion.summer/summer-mybatis-redis-cache "0.0.1-RELEASE"]

Зависимости

compile (2)

Идентификатор библиотеки Тип Версия
org.springframework.data : spring-data-redis jar 1.7.1.RELEASE
org.mybatis : mybatis jar 3.4.0

test (1)

Идентификатор библиотеки Тип Версия
junit : junit jar 4.12

Модули Проекта

Данный проект не имеет модулей.

Summer MyBatis Redis Cache

Usage

Add Maven Dependency

    <dependency>
        <groupId>me.chyxion.summer</groupId>
        <artifactId>summer-mybatis-redis-cache</artifactId>
        <version>0.0.1-RELEASE</version>
    </dependency>

MyBatis Settings Config

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" 
        "http://mybatis.org/dtd/mybatis-3-config.dtd">
    <configuration>
        <settings>
            <setting name="cacheEnabled" value="true" />
        </settings>
    </configuration>

Mapper Config

    <?xml version="1.0" encoding="UTF-8"?>
    <!DOCTYPE mapper PUBLIC
        "-//mybatis.org//DTD Mapper 3.0//EN"
        "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
    <mapper namespace="me.chyxion.demo.mappers.UserMapper">
        <cache type="me.chyxion.summer.mybatis.cache.RedisCache" />
        ...
    </mapper>

Contact

chyxion@163.com

Версии библиотеки

Версия
0.0.1-RELEASE