顺序问题:在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
顺序问题:在resultmap中,result必须在association之前。否则会报错
只查出一条记录的问题 :重名的id,要起别名。而且不能忽略。
http://blog.csdn.net/aitcax/article/details/44337271