Comments (5)
@Tomones 这个项目已经过去太久了,我已经不记得细节了,可能是因为 Hibernate 或者 Spring boot 的版本升级以后相关的 API 变化导致的。
from multi-tenant.
@lanyuanxiaoyao 好哇,放弃了,Hibernate多租户 还是有不少坑呢
from multi-tenant.
@lanyuanxiaoyao 你好,请问你有mybatis的实现版本吗,我看到很多人都使用mycat进行分库处理的,感觉有点复杂
from multi-tenant.
@lanyuanxiaoyao 你好,请问你有mybatis的实现版本吗,我看到很多人都使用mycat进行分库处理的,感觉有点复杂
mybatis 只是个"工具类", 本身不提供多租户这类实现方案, 所以才会使用 mycat 这类外部组件, 如果不用 mycat 的话, 那大概也就是拦截 sql 语句然后直接改动 sql 加入租户信息来做了
from multi-tenant.
很感谢您的回答!!我想再请问:mybatis拦截sql加入租户信息做成多租户的方式加入到微服务开发当中可行性和稳定性可以接受吗?
from multi-tenant.
Related Issues (4)
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from multi-tenant.