修复Mybatis扫描Mapper配置问题

v1.3
xueli.xue 9 years ago
parent 8a1cffbf30
commit 89cf8a35da

@ -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 -->

Loading…
Cancel
Save