SSH动态切换数据源

上传者: arthuroo | 上传时间: 2019-12-21 19:25:34 | 文件大小: 35KB | 文件类型: rar
这个是已经实现了动态切换数据源的,大家看看,很有用的

文件下载

资源详情

( 25 个子文件 35KB ) SSH动态切换数据源
example
ReadMe.txt 66B
MultiSessionFactoryExample
com
htxx
demo1
model
Users.hbm.xml 793B
Users.java 455B
AbstractUsers.java 1.07KB
service
dao
DaoException.java 305B
MultiDataSource.java 2.70KB
DaoUtil.java 1.50KB
GenericDao.java 2.55KB
UpdateProxy.java 167B
DaoSupport.java 1.64KB
SpObserver.java 300B
BasicDao.java 4.60KB
Condition.java 2.36KB
DynamicLoadBean.java 1.96KB
DaoSupportHibernate3Imp.java 7.11KB
ResultSet.java 3.78KB
DaoSupportHibernateImp.java 7.49KB
SpringContext.java 839B
MultiSessionFactory.java 7.77KB
demo
model
Department.hbm.xml 967B
AbstractDepartment.java 1.37KB
Department.java 579B
MultiSessionFactoryTest.java 1.12KB
ApplicationContext-sessionFactory.xml 3.00KB
MultiSessionFactoryExample.jar 18.69KB
[{"title":"( 25 个子文件 35KB ) SSH动态切换数据源","children":[{"title":"example","children":[{"title":"ReadMe.txt <span style='color:#111;'> 66B </span>","children":null,"spread":false},{"title":"MultiSessionFactoryExample","children":[{"title":"com","children":[{"title":"htxx","children":[{"title":"demo1","children":[{"title":"model","children":[{"title":"Users.hbm.xml <span style='color:#111;'> 793B </span>","children":null,"spread":false},{"title":"Users.java <span style='color:#111;'> 455B </span>","children":null,"spread":false},{"title":"AbstractUsers.java <span style='color:#111;'> 1.07KB </span>","children":null,"spread":false}],"spread":true}],"spread":true},{"title":"service","children":[{"title":"dao","children":[{"title":"DaoException.java <span style='color:#111;'> 305B </span>","children":null,"spread":false},{"title":"MultiDataSource.java <span style='color:#111;'> 2.70KB </span>","children":null,"spread":false},{"title":"DaoUtil.java <span style='color:#111;'> 1.50KB </span>","children":null,"spread":false},{"title":"GenericDao.java <span style='color:#111;'> 2.55KB </span>","children":null,"spread":false},{"title":"UpdateProxy.java <span style='color:#111;'> 167B </span>","children":null,"spread":false},{"title":"DaoSupport.java <span style='color:#111;'> 1.64KB </span>","children":null,"spread":false},{"title":"SpObserver.java <span style='color:#111;'> 300B </span>","children":null,"spread":false},{"title":"BasicDao.java <span style='color:#111;'> 4.60KB </span>","children":null,"spread":false},{"title":"Condition.java <span style='color:#111;'> 2.36KB </span>","children":null,"spread":false},{"title":"DynamicLoadBean.java <span style='color:#111;'> 1.96KB </span>","children":null,"spread":false},{"title":"DaoSupportHibernate3Imp.java <span style='color:#111;'> 7.11KB </span>","children":null,"spread":false},{"title":"ResultSet.java <span style='color:#111;'> 3.78KB </span>","children":null,"spread":false},{"title":"DaoSupportHibernateImp.java <span style='color:#111;'> 7.49KB </span>","children":null,"spread":false},{"title":"SpringContext.java <span style='color:#111;'> 839B </span>","children":null,"spread":false},{"title":"MultiSessionFactory.java <span style='color:#111;'> 7.77KB </span>","children":null,"spread":false}],"spread":false}],"spread":true},{"title":"demo","children":[{"title":"model","children":[{"title":"Department.hbm.xml <span style='color:#111;'> 967B </span>","children":null,"spread":false},{"title":"AbstractDepartment.java <span style='color:#111;'> 1.37KB </span>","children":null,"spread":false},{"title":"Department.java <span style='color:#111;'> 579B </span>","children":null,"spread":false}],"spread":true},{"title":"MultiSessionFactoryTest.java <span style='color:#111;'> 1.12KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}],"spread":true},{"title":"ApplicationContext-sessionFactory.xml <span style='color:#111;'> 3.00KB </span>","children":null,"spread":false}],"spread":true},{"title":"MultiSessionFactoryExample.jar <span style='color:#111;'> 18.69KB </span>","children":null,"spread":false}],"spread":true}],"spread":true}]

评论信息

  • 杞哈哈 :
    如何使用的,感觉东西好多啊 。
    2014-05-17
  • FENGGAOPAN :
    非常好的,值得学习
    2014-02-17
  • 晴天-一米 :
    还不错,可以参考
    2013-12-28
  • newborder :
    确实只需要陪多个dataSource即可
    2013-12-18
  • 有点儿意思94 :
    很有价值的资源,谢谢分享!!
    2013-12-10

免责申明

【只为小站】的资源来自网友分享,仅供学习研究,请务必在下载后24小时内给予删除,不得用于其他任何用途,否则后果自负。基于互联网的特殊性,【只为小站】 无法对用户传输的作品、信息、内容的权属或合法性、合规性、真实性、科学性、完整权、有效性等进行实质审查;无论 【只为小站】 经营者是否已进行审查,用户均应自行承担因其传输的作品、信息、内容而可能或已经产生的侵权或权属纠纷等法律责任。
本站所有资源不代表本站的观点或立场,基于网友分享,根据中国法律《信息网络传播权保护条例》第二十二条之规定,若资源存在侵权或相关问题请联系本站客服人员,zhiweidada#qq.com,请把#换成@,本站将给予最大的支持与配合,做到及时反馈和处理。关于更多版权及免责申明参见 版权及免责申明
服务器状态检查中...