2019-01-14 Mybatis 多数据源配置文件

      xmlns:jee="http://www.springframework.org/schema/jee" xmlns:tx="http://www.springframework.org/schema/tx"

      xmlns:context="http://www.springframework.org/schema/context"

      xmlns:task="http://www.springframework.org/schema/task"

      xmlns:aop="http://www.springframework.org/schema/aop"

      xmlns:mybatis="http://mybatis.org/schema/mybatis-spring"

      xsi:schemaLocation="http://www.springframework.org/schema/beans  http://www.springframework.org/schema/beans/spring-beans-3.0.xsd

http://www.springframework.org/schema/tx  http://www.springframework.org/schema/tx/spring-tx-3.0.xsd

http://www.springframework.org/schema/jee  http://www.springframework.org/schema/jee/spring-jee-3.0.xsd

http://www.springframework.org/schema/context  http://www.springframework.org/schema/context/spring-context-3.0.xsd

http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-3.0.xsd

http://mybatis.org/schema/mybatis-spring http://mybatis.org/schema/mybatis-spring.xsd"

      default-lazy-init="true">

mybatis配置


 

   

   

   


   

   


 

 

   

   

   

   

   


 

   

   

   


   

   


 

 


注意,两个数据源引用包需要分开,不可混用

你可能感兴趣的:(2019-01-14 Mybatis 多数据源配置文件)