67,513
社区成员
发帖
与我相关
我的任务
分享
<mapper namespace="HelpTopicSpace">
<select id="findHelpTopicAll" resultType="org.apache.ibatis.zsamples.entities.HelpTopic" useCache="true">
select help_topic_id as id,
name as name,
help_category_id,
description as description,
example as example,
url as url from help_topic ;
</select>
</mapper>
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//ibatis.apache.org//DTD Mapper 3.0//EN"
"http://ibatis.apache.org/dtd/ibatis-3-mapper.dtd">
<mapper namespace="HelpTopicSpace">
<select id="findHelpTopicAll" resultType="org.apache.ibatis.zsamples.entities.HelpTopic" useCache="true">
select help_topic_id as id,
name as name,
help_category_id,
description as description,
example as example,
url as url from help_topic ;
</select>
<cache eviction="FIFO" flushInterval="600" readOnly="true" size="512">
</cache>
</mapper>