0eaaf55d 陈志杭(后端)

删除没有使用的数据源

1 个父辈 ef395fb5
...@@ -15,27 +15,27 @@ ...@@ -15,27 +15,27 @@
15 http://www.springframework.org/schema/util 15 http://www.springframework.org/schema/util
16 http://www.springframework.org/schema/util/spring-util-3.2.xsd"> 16 http://www.springframework.org/schema/util/spring-util-3.2.xsd">
17 17
18 <!-- mybatis文件配置,扫描所有mapper文件 --> 18 <!--&lt;!&ndash; mybatis文件配置,扫描所有mapper文件 &ndash;&gt;-->
19 <bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean" 19 <!--<bean id="sqlSessionFactory" class="org.mybatis.spring.SqlSessionFactoryBean"-->
20 p:dataSource-ref="dynamicDataSource" p:configLocation="classpath:mybatis-config.xml" 20 <!--p:dataSource-ref="dynamicDataSource" p:configLocation="classpath:mybatis-config.xml"-->
21 p:mapperLocations="classpath:mapper/*.xml"/><!-- configLocation为mybatis属性 21 <!--p:mapperLocations="classpath:mapper/*.xml"/>&lt;!&ndash; configLocation为mybatis属性-->
22 mapperLocations为所有mapper --> 22 <!--mapperLocations为所有mapper &ndash;&gt;-->
23 23
24 <!-- spring与mybatis整合配置,扫描所有dao --> 24 <!--&lt;!&ndash; spring与mybatis整合配置,扫描所有dao &ndash;&gt;-->
25 <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer" 25 <!--<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"-->
26 p:basePackage="com.sibu.orderHelper.base.dao" p:sqlSessionFactoryBeanName="sqlSessionFactory"/> 26 <!--p:basePackage="com.sibu.orderHelper.base.dao" p:sqlSessionFactoryBeanName="sqlSessionFactory"/>-->
27 <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer" 27 <!--<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"-->
28 p:basePackage="com.sibu.orderHelper.integral.dao" p:sqlSessionFactoryBeanName="sqlSessionFactory"/> 28 <!--p:basePackage="com.sibu.orderHelper.integral.dao" p:sqlSessionFactoryBeanName="sqlSessionFactory"/>-->
29 <bean class="org.mybatis.spring.mapper.MapperScannerConfigurer" 29 <!--<bean class="org.mybatis.spring.mapper.MapperScannerConfigurer"-->
30 p:basePackage="com.sibu.orderHelper.hotel.dao" p:sqlSessionFactoryBeanName="sqlSessionFactory"/> 30 <!--p:basePackage="com.sibu.orderHelper.hotel.dao" p:sqlSessionFactoryBeanName="sqlSessionFactory"/>-->
31 31
32 <!-- 对数据源进行事务管理 --> 32 <!--&lt;!&ndash; 对数据源进行事务管理 &ndash;&gt;-->
33 <bean id="transactionManager" 33 <!--<bean id="transactionManager"-->
34 class="org.springframework.jdbc.datasource.DataSourceTransactionManager" 34 <!--class="org.springframework.jdbc.datasource.DataSourceTransactionManager"-->
35 p:dataSource-ref="dynamicDataSource"/> 35 <!--p:dataSource-ref="dynamicDataSource"/>-->
36 36
37 <!-- 事务注解驱动,标注@Transactional的类和方法将具有事务性 --> 37 <!--&lt;!&ndash; 事务注解驱动,标注@Transactional的类和方法将具有事务性 &ndash;&gt;-->
38 <tx:annotation-driven transaction-manager="transactionManager" proxy-target-class="true" mode="proxy"/> 38 <!--<tx:annotation-driven transaction-manager="transactionManager" proxy-target-class="true" mode="proxy"/>-->
39 39
40 40
41 41
......