<?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.ces.mapper.UserMapper">
    <cache eviction="FIFO" readOnly="false"
           type="org.apache.ibatis.cache.impl.PerpetualCache"
           flushInterval="60000" size="512"></cache>
    <select id="selectOne" resultType="User">
        select context from test where id=#{id}
    </select>
    <insert id="insert" parameterType="User">
        insert into test values(#{user});
    </insert>
</mapper>



