memcached.properties
org.mybatis.caches.memcached.keyprefix=_mybatis_
org.mybatis.caches.memcached.servers=localhost:11211
org.mybatis.caches.memcached.connectionfactory=net.spy.memcached.DefaultConnectionFactory
org.mybatis.caches.memcached.expiration=30
org.mybatis.caches.memcached.asyncget=false
org.mybatis.caches.memcached.timeout=5
org.mybatis.caches.memcached.timeoutunit=java.util.concurrent.TimeUnit.SECONDS
org.mybatis.caches.memcached.compression=false
<?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="com.zhrenjie04.alex.web.core.dao.UserDao">
<cache type="org.mybatis.caches.memcached.MemcachedCache" />
<resultMap type="com.zhrenjie04.alex.web.core.entity.User" id="userResult">
<result property="userId" column="user_id" />
<result property="username" column="username" />
<result property="password" column="password" />
<result property="realname" column="realname" />
<result property="nickname" column="nickname" />
<result property="isDeleted" column="is_deleted" />
<result property="pageSize" column="page_size" />
</resultMap>
2554




被折叠的 条评论
为什么被折叠?



