Spring+Hibernate框架下Mysql读写分离、主从数据库配置(下)
转载:http://lujia35.iteye.com/blog/969466
下面配置spring applicationContext.xml文件
- <?xml?version="1.0"?encoding="UTF-8"?>??
- <beans?xmlns="http://www.springframework.org/schema/beans"??
- ????xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"?xmlns:aop="http://www.springframework.org/schema/aop"??
- ????xmlns:tx="http://www.springframework.org/schema/tx"?xmlns