Giter Site home page Giter Site logo

Comments (5)

lanyuanxiaoyao avatar lanyuanxiaoyao commented on May 27, 2024

@Tomones 这个项目已经过去太久了,我已经不记得细节了,可能是因为 Hibernate 或者 Spring boot 的版本升级以后相关的 API 变化导致的。

from multi-tenant.

Tomones avatar Tomones commented on May 27, 2024

@lanyuanxiaoyao 好哇,放弃了,Hibernate多租户 还是有不少坑呢

from multi-tenant.

JackPuSteven avatar JackPuSteven commented on May 27, 2024

@lanyuanxiaoyao 你好,请问你有mybatis的实现版本吗,我看到很多人都使用mycat进行分库处理的,感觉有点复杂

from multi-tenant.

lanyuanxiaoyao avatar lanyuanxiaoyao commented on May 27, 2024

@lanyuanxiaoyao 你好,请问你有mybatis的实现版本吗,我看到很多人都使用mycat进行分库处理的,感觉有点复杂

mybatis 只是个"工具类", 本身不提供多租户这类实现方案, 所以才会使用 mycat 这类外部组件, 如果不用 mycat 的话, 那大概也就是拦截 sql 语句然后直接改动 sql 加入租户信息来做了

from multi-tenant.

JackPuSteven avatar JackPuSteven commented on May 27, 2024

很感谢您的回答!!我想再请问:mybatis拦截sql加入租户信息做成多租户的方式加入到微服务开发当中可行性和稳定性可以接受吗?

from multi-tenant.

Related Issues (4)

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.