You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "15271944243 (via GitHub)" <gi...@apache.org> on 2023/03/15 07:13:32 UTC

[GitHub] [shardingsphere] 15271944243 commented on issue #24608: When I use customize HintShardingAlgorithm, how do I set the default datasource with none sharding value

15271944243 commented on issue #24608:
URL: https://github.com/apache/shardingsphere/issues/24608#issuecomment-1469465745

   > @15271944243 When there is no sharding condition in SQL, the sharding algorithm will not be executed.
   
   You mean I have to use  `hintManager.addDatabaseShardingValue` on `all methods` to specify the datasource 
   
   I know that hintManager uses ThreadLocal,`all methods` refer to different business methods


-- 
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