Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

查询未分表的表失败 #382

Closed
laowhites opened this issue Sep 18, 2017 · 3 comments
Closed

查询未分表的表失败 #382

laowhites opened this issue Sep 18, 2017 · 3 comments

Comments

@laowhites
Copy link

Please answer these questions before submitting your issue. Thanks!

Which version of Sharding-Jdbc do you using?

1.5.3

Expected behavior

使用mybaits作为orm框架
单个数据源包含分表和没有分表的表
查询没有分表的表正常

Actual behavior

单个数据源查询未分表的表失败

Steps to reproduce the behavior

1.启动项目
2Controller包下的的mapping
3点击控制台的输出 http://localhost:8081/nosdSelect

Please provide the reproduce example codes (such as github link) if possible.

https://git.oschina.net/lxhs/com.study.demo.git

terrymanu added a commit that referenced this issue Sep 19, 2017
@apache apache deleted a comment from haocao Sep 19, 2017
@apache apache deleted a comment from laowhites Sep 19, 2017
terrymanu added a commit that referenced this issue Sep 19, 2017
@terrymanu
Copy link
Member

terrymanu commented Sep 19, 2017

fixed at 1.5.4.1

@shengyue-z
Copy link

此问题 在关联查询时 容易凸显

@imadcn
Copy link

imadcn commented Sep 26, 2017

是的,关联查询的时候会有这个BUG,单表查询的时候没问题
目前用的1.5.1版本,将所有关联查询的表配置了不分片算法后才可以用

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

4 participants