- 博客(4)
- 收藏
- 关注
原创 spring TestUtil Junit测试类
package com.tyc.utils;import org.junit.Before;import org.junit.Test;import java.util.Map;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation.Autowired;import org
2016-06-03 17:34:02 678
原创 spring,mybatis,druid,多数据源配置
1、实现多数据源,夸库查询;2、通过配置spring-mybatis.xml中的事务和aop来完成一个service层下多个数据源事务支持异常同时回滚;<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns
2016-06-03 17:28:05 5353 5
原创 Atomikos 分布式数据源,spring,mybatis
1、简介:多数据源配置,支持回滚2、spring-mybatis.xml<beans xmlns="http://www.springframework.org/schema/beans" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:context="http://www.springframework.o
2016-05-31 16:16:31 409
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人