mybatis-mp - 亮点八: 可对 xml 实体类返回 进行自动映射: 当你需要写一个很复杂的sql时,你可能会选择用xml 去做例如: <select id="findUserList" returnType="User">       select id,user_name as userName,nick_name as nickName,password from user where xx and xx2 and xx3 ........ </select> 如上...

新闻来源:mybatis-mp - 亮点八:mybatis-xml returnType 的 ORM 映射