需要Map,但字段里有CLOB
<!-- resultMap -->
<resultMap type="java.util.HashMap" id="propertyMap">
<result property="attrName" column="ATTR_NAME" jdbcType="VARCHAR" javaType="String"/>
<result property="attrValue" column="ATTR_VALUE" jdbcType="CLOB" javaType="String"/>
</resultMap>
<select id="findProperty" parameterType="String" resultMap="propertyMap">
...
</select>
网友评论