MyBatis 配置Ehcache 缓存
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |
<?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.test.list">
<!--MyBatis 配置Ehcache 缓存-->
<cache type="org.mybatis.caches.ehcache.EhcacheCache"/>
<select id="getUserList" parameterType="string" resultType="com.test.Userlist">
select CODEKIND, CODEVALUE, CODENAME, PARENT_CODEVALUE
from T_BASE
where CODEKIND = #{kind,jdbcType=VARCHAR}
and VALID='1'
order by ORDERS
</select>
</mapper>
阿里云国内75折 回扣 微信号:monov8 |
阿里云国际,腾讯云国际,低至75折。AWS 93折 免费开户实名账号 代冲值 优惠多多 微信号:monov8 飞机:@monov6 |