yflytom commented on issue #29780:
URL: 
https://github.com/apache/shardingsphere/issues/29780#issuecomment-1909199611

   > > > Hi @yflytom I didn’t see any calls to `HintManager` in the demo, 
please read the `Procedure` section in the documentation. 
https://shardingsphere.apache.org/document/5.4.1/en/user-manual/shardingsphere-jdbc/special-api/sharding/hint/
   > > 
   > > 
   > > @RaigorJiang
   > > Hello, I don’t quite understand. I can clearly specify the data sources 
and tables that need to be queried through custom algorithms. Why do I need to 
code `HintManager` to specify the data source (I now use `AOP` to intercept all 
queries. , and then encode `HintManager` to specify the data source and table 
name), aren't these two conflicts, or are they unnecessary
   > 
   > So how to know the sharding value in your custom sharding algorithm?
   
   Hello, I use Alibaba's `TransmittableThreadLocal` to pass parameters. I saw 
that `Shardingjdbc` also has this. Is it possible to open two methods, one is 
to customize the parameters, and the other is to use `HintManager`.
   
   您好,我是使用阿里的TransmittableThreadLocal 传递参数,我看了Shardingjdbc 
也有这个,是否可以开放两种方式,一种自定义的传参,一种是使用HintManager
   


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