【C017125】在MyBatis中,以下关于resultMap定义正确的是( )。
A.<map id="msgMap" type="resultMap">
<result property="msgId" column="MSG_ID" />
<result property="msgType" column="MSG_TYPE" />
</map>
B.<resultMap id="msgMap" type="resultMap">
<result property="MSG_ID" column="msgId" />
<result property="MSG_TYPE" column="msgType" />
</resultMap>
C.<resultMap id="msgMap" type="map">
<result property="msgId" column="MSG_ID" />
<result property="msgType" column="MSG_TYPE" />
</resultMap>
D.<resultMap id="msgMap" type="Map">
<result property="msgId" />
<result property="msgType" />
</resultMap>