顺序问题:在resultmap中,result必须在association之前。否则会报错

 

 

只查出一条记录的问题  :重名的id,要起别名。而且不能忽略。

 

mybaits错误解决:There is no getter for property named 'id' in class 'java.lang.String'

http://blog.csdn.net/aitcax/article/details/44337271

posted on 2017-03-11 12:44  Mr.He多多指教  阅读(107)  评论(0)    收藏  举报