The difference between resultType and resultMap in mybatis

The reason why one is the relative and the other is the hash value here is because of the reason returned in the xml

It's because resultType="hashmap" //returns an object like

               resulMap="hashmap" //returns the hashw value



 

 

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=326124024&siteId=291194637