Comments (4)
具体是调用的ShardDatabaseMetaData的哪个方法? 我看一下能否支持
from zebra.
具体是调用的ShardDatabaseMetaData的哪个方法? 我看一下能否支持
public ResultSet getTables(String catalog, String schemaPattern, String tableNamePattern, String[] types)
你是这个类里面的大部分实现方法好像都是空实现,这个是需要使用者自己去实现吗?想问下咱们这个组件只有结合mybatis使用的最佳实践吗?
from zebra.
1.分库分表场景下ShardDatabaseMetaData这里的方法大部分是"没有准确实现或无需使用"的 所以我们这里一般都是上层框架必须要使用的情况下才会想办法做下支持
2.mtdp内部基本都是mybatis 其他框架目前没有专门去做支持 后面我们会考虑增加
from zebra.
还有就是,我发现组件对connection中不支持的方法直接抛出了异常,其中有个方法是getWarnings,这个方法在Hibernate释放连接资源的时候使用到了,而且是在释放资源前调用的,这样导致连接释放失败。。。这个就是很大的问题了,我的资源池设置了100个连接,很快就耗尽了
如果方便的话,加下微信好友(duanmu1210893441),这样交流比较方便
from zebra.
Related Issues (20)
- Y
- 数据源配置为 ShardDataSource 时,unique 约束会导致 StackOverflowError HOT 3
- 还在维护吗 HOT 1
- 分库分表时RouterResult不是SingleTarget的情况下希望也打印路由出来的db和sql debug日志,方便调试
- 辅维度不支持写操作 HOT 1
- AsyncMapperProxy-threadlocal没有清理
- 本地配置,打成jar包后运行,报空指针异常。远程配置也无法读取zookeepe.properties的内容 HOT 1
- 分库分表不支持子查询
- web端保存数据到zookeeper有问题,一直卡在那里
- There are only 1 target objects. You either specified a wrong ‘keyProperty‘ or encountered a driver
- 读写分离数据源与mybatis 一起用,死循环的特殊场景
- There is a vulnerability in mybatis 3.4.1 ,upgrade recommended
- There is a vulnerability in mysql-connector-java 5.1.40 ,upgrade recommended
- There is a vulnerability in Bootstrap v3.3.6 ,upgrade recommended
- There is a vulnerability in commons-httpclient 3.1 ,upgrade recommended
- There is a vulnerability in mysql-connector-java 5.1.40 ,upgrade recommended
- zebra-admin-web:delete zookeeper config error HOT 3
- 不维护了吗 HOT 1
- 能否支持spring boot方式接入
- 能否支持mysql 5以上版本,比如mysql 8
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 zebra.