【mybatis】mapper.xml文件自动扫描注入的方法

原文地址:https://blog.csdn.net/yjqyyjw/article/details/51646034 1、结构如下 2、配置好项目后在applicationContext-dao.xml中的  session 工厂配置里加入  mapperLocations  项 即可自动扫描目录下所有xml映射文件 [html]  view plain  copy <bean id="sqlS
相关文章
相关标签/搜索