提交 89cf8a35 authored 作者: xueli.xue's avatar xueli.xue

修复Mybatis扫描Mapper配置问题

上级 8a1cffbf
...@@ -39,7 +39,7 @@ ...@@ -39,7 +39,7 @@
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"> <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
<property name="dataSource" ref="dataSource" /> <property name="dataSource" ref="dataSource" />
<property name="mapperLocations" value="classpath*:mybatis-mapper/*.xml"/> <property name="mapperLocations" value="classpath:mybatis-mapper/*.xml"/>
</bean> </bean>
<!-- scope must be "prototype" when junit --> <!-- scope must be "prototype" when junit -->
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论