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

1.5.2非分片表查询报错 #361

Closed
cyao2q opened this issue Sep 6, 2017 · 3 comments
Closed

1.5.2非分片表查询报错 #361

cyao2q opened this issue Sep 6, 2017 · 3 comments

Comments

@cyao2q
Copy link

cyao2q commented Sep 6, 2017

Please answer these questions before submitting your issue. Thanks!

Which version of Sharding-Jdbc do you using?

1.5.2

Expected behavior

1.5.1版本正常 1.5.3版本也解决了 可是 1.5.3 不支持原生
自增主键 #360
怎么感觉更新的时候 会把原来的bug重新更新出来 1.5.0不支持原生自增主键 1.5.1更新了

后面的 1.5.2 更新不能查询非分片表 1.5.3 更新的不能使用自增主键

Actual behavior

Cause: com.dangdang.ddframe.rdb.sharding.exception.ShardingJdbcException: Cannot find table rule and default data source with logic tables: '[]'

Steps to reproduce the behavior

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

@terrymanu
Copy link
Member

信息不足,请提供可供重现的代码。
或者提供全部的sql.show日志、ShardingRule配置、SQL以及调用SQL的代码片段

如果只看字面上的意思,1.5.3是支持非分片并配置default-data-source查询的,因此目前的描述不足以断定issue的充要条件。

@cyao2q
Copy link
Author

cyao2q commented Sep 8, 2017

1
2
3
4
5
6
7

@cyao2q cyao2q closed this as completed Sep 8, 2017
@cyao2q cyao2q reopened this Sep 8, 2017
@terrymanu
Copy link
Member

既然这个问题已经在1.5.3解决了,我就关闭了。
dup with ISSUE #351

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

2 participants