-
Notifications
You must be signed in to change notification settings - Fork 164
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
图书勘误 #13
Comments
11.3 MyBatis级联映射实现原理 |
11.2 MyBatis懒加载机制 |
11.3 MyBatis级联映射实现原理 |
你好 你看的是电子版的还是纸质版的,有些错别字问题稿件中是正确的 |
在微信读书看的 |
江老师您好,最近在阅读您写的《MyBatis 3源码深度解析》,对于本人理解MyBatis源码提供了很大的帮助。阅读过程中,发现书上有个小错误,您核对下是否有误。
6.3 Mapper方法调用过程详解
原文:
如上面的代码所示,MethodSignature构造方法中只做了3件事情:(1)获取Mapper方法的返回值类型,具体是哪种类型,通过boolean类型的属性进行标记。例如,当返回值类型为void时,returnsVoid属性值为true,当返回值类型为List时,将returnsMap属性值设置为true。MethodSignature类中标记Mapper返回值类型的属性如下:
修正:
当返回值类型为List时,将returnsMap属性值设置为true --> 当返回值类型为List时,将returnsMany属性值设置为true
The text was updated successfully, but these errors were encountered: