mapper加载的3种方法
<!--
mapper加载有3种方法:
1:通过resource或url加载单个mapper
2:通过mapper接口类名加载单个mapper
3:通过package批量加载多个mapper(推荐使用)
-->
<mappers>
<!-- 通过resource或url加载单个mapper -->
<!--
<mapper resource="sqlmap/User.map.xml" />
<mapper resource="sqlmap/Student.map.xml" />
<mapper resource="mapper/UserMapper.xml"/>
<mapper resource="mapper/StaffMapper.xml"/>
<mapper url="file:/F:/workspace/mybatis0422/bin/mapper/UserMapper.xml"/>
<mapper url="file:/F:/workspace/mybatis0422/bin/mapper/StaffMapper.xml"/>
-->
<!-- 通过mapper接口类名加载单个mapper -->
<!--
使用前提是:
1:使用mapper代理方式开发
2&#