【Mybatis】表关联和resultMap的使用
基础部分可以查看我的另一篇博客http://haohaoxuexi.iteye.com/blog/1333271
MyBatis中在查询进行select映射的时候,返回类型可以用resultType,也可以用resultMap,resultType是直接表示返回类型的,而resultMap则是对外部ResultMap的引用,但是resultType跟resultMap不能同时存在。在MyBa...
原创
2015-04-11 09:28:08 ·
134 阅读 ·
0 评论