You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2021/12/13 05:53:56 UTC
[GitHub] [shardingsphere] zjcnb opened a new issue #14067: Consider remove the check rule restrictions when use jdbc.
zjcnb opened a new issue #14067:
URL: https://github.com/apache/shardingsphere/issues/14067
Hi community,
Background
---
Now, you must to configure rules when you use ShardingSphere-JDBC, otherwise it can't be use ShardingSphere-JDBC.
Problem
---
I found that our sql hit feature is already available in the master branch, this feature can specify dataSource by yourself, such as: /* ShardingSphere hint: DatasourceName=ds0 */.
Maybe user can use sql hit feature to switch data sources. So we check rules does it exist. Is it necessary? If it is necessary to check it,
i think the error message cannot tell the user intuitively when user not configuation rules.
not configuration about rules error message:
```
Unsatisfied dependency expressed through method ‘dataSource’ parameter 0; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No qualifying bean of type ‘org.apache.shardingsphere.infra.config.mode.ModeConfiguration’ available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}.
```
Refer to
---
#13887.
#13719.
#13718.
#13554.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
[GitHub] [shardingsphere] sandynz closed issue #14067: Consider remove the check rule restrictions when use jdbc.
Posted by GitBox <gi...@apache.org>.
sandynz closed issue #14067:
URL: https://github.com/apache/shardingsphere/issues/14067
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org