修复Mybatis扫描Mapper配置问题
This commit is contained in:
parent
8a1cffbf30
commit
89cf8a35da
|
@ -39,7 +39,7 @@
|
|||
|
||||
<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean">
|
||||
<property name="dataSource" ref="dataSource" />
|
||||
<property name="mapperLocations" value="classpath*:mybatis-mapper/*.xml"/>
|
||||
<property name="mapperLocations" value="classpath:mybatis-mapper/*.xml"/>
|
||||
</bean>
|
||||
|
||||
<!-- scope must be "prototype" when junit -->
|
||||
|
|
Loading…
Reference in New Issue