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 2020/03/13 01:32:16 UTC
[GitHub] [incubator-shardingsphere] kekerzzZ commented on issue #4737: When
config sharding rule use UI,
DatabaseStrategy and TableStrategy whether to support the Hint?
kekerzzZ commented on issue #4737: When config sharding rule use UI, DatabaseStrategy and TableStrategy whether to support the Hint?
URL: https://github.com/apache/incubator-shardingsphere/issues/4737#issuecomment-598505376
1. My config
`defaultDatabaseStrategy:
hint:
algorithmClassName: com.my.testshardingsphere.MyHintShardingAlgorithm
defaultTableStrategy:
hint:
algorithmClassName: com.my.testshardingsphere.MyHintShardingAlgorithm`
2. Exception result
`java.lang.ClassNotFoundException: com.my.testshardingsphere.MyHintShardingAlgorithm`
3. Code exception location
`ShardingAlgorithmFactory#newInstance`
4. My question
`MyHintShardingAlgorithm` class is my custom, when Instantiate appear exception is `MyHintShardingAlgorithm` class is not found, so i want to know whether I use wrong or does not support hint.
Thanks for the reply!
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
With regards,
Apache Git Services