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

   > > @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
   
   @15271944243 In fact, in the sharding scenario, there is no so-called 
`default datasource with none sharding value`.
   When there is no sharding condition, it is full routing.


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to