为什么 MyBatis Mapper 接口能像普通 Bean 一样被 @Autowired?


resources 下面的
com/study/mybatis 文件夹中新建
UserMapper.xml 文件,文件内容如下:

赞(0)
未经允许不得转载:小狮博客 » 为什么 MyBatis Mapper 接口能像普通 Bean 一样被 @Autowired?
分享到: 更多 (0)

联系我们