MyBatis3.2.8关于ResultMap的bug 讨论

问题描述:
1.假设有表T(a,b,c)
2.mapper.xml

<resultMap id="resMap" type="XClass">
    <result property="a" column="a" />
    <result property="b" column="b" />
</resultMap >
<select id="search" parameterType="string" resultMap="resMap">
   select a, b, c from T where a= #{id}
</select>

3.进行DEBUG的时候,发现XClass对象中C属性有具体的值.


希望大家鉴定一下,这是MyBatis的BUG吗?


怎么解决啊,像在项目中大面积出现这种情况.

你可能感兴趣的:(resultMap)