mybatis接口映射

通过sqlSession.getMapper();方法获取映射的接口及方法 sqlSession调用Configuration的getMapper方法,方法中使用了mapperRegistry.getMapper方法,通过mapperRegistry中的hashMap集合knowMappers的key获取到value-mapperProxyFactory。   getMapper()方法是通过co
相关文章
相关标签/搜索