Git Product home page Git Product logo

demo-multi-datasource's Introduction

simple-multi-datasource

测试多数据源示例

  • basic-multi-datasource

    • 两套SqlSessionFactory 两套数据源 PS : 可以理解为在一个Spring工程中使用了两套myabtis
  • dynamic-datasource

    • 动态数据源的思路为 由Spring在业务层根据业务提供相应的Connection放入到threadlocal中,mybatis执行sql语句去threadlocal获取即可!PS : 此方式事务可能问题可能会不好处,应当考虑分布式事务。
  • parametric-dynamic-datasource

    • 在程序运行过程中动态增加数据源

demo-multi-datasource's People

Contributors

jimisun123 avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.