<?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.hao.mapper.IStudentMapper">
<select id="findStudentList" resultType="map">
select * from t_student0912
</select>
</mapper>
有时候人们欺骗你,是为了让你明白,你能相信的只有你自己。
——千与千寻《千与千寻》
本文探讨了MyBatis框架中的映射文件结构与使用方法,详细解析了一个具体的映射文件实例,包括其DTD声明、命名空间定义、SQL查询语句等关键元素。
5934

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



