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/08/12 08:45:25 UTC

[GitHub] [shardingsphere] zundaren opened a new issue #6805: Springboot integrates shardingjdbc only sub-library uses hint strategy configuration problem

zundaren opened a new issue #6805:
URL: https://github.com/apache/shardingsphere/issues/6805


   I just want to sub-database and use hint strategy, but the configuration file needs to configure sub-table, which is not logical
   ---------------------------------------------------------------------------------------------------------
   
   spring.shardingsphere.sharding.tables.item.actual-data-nodes=ds${0..1}.item
   spring.shardingsphere.sharding.tables.item.table-strategy.hint.algorithm-class-name=com.shardingdemo.config.HintShardingKeyAlgorithm
   spring.shardingsphere.sharding.tables.item.database-strategy.hint.algorithm-class-name=com.shardingdemo.config.HintShardingKeyAlgorithm
   --------------------------------------------------------------------------------------------------------
   
   For example, I use the item table to insert, and the hint strategy uses ShardingStandardRoutingEngine, but I want to use a table that is not configured in the configuration file, such as the user table, to route to ShardingUnicastRoutingEngine. That is to say, there are hundreds of tables in a database on my side, and I want to configure Only a few hundred tables configuration can use the hint mode, which is completely inappropriate
   


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



[GitHub] [shardingsphere] terrymanu commented on issue #6805: Springboot integrates shardingjdbc only sub-library uses hint strategy configuration problem

Posted by GitBox <gi...@apache.org>.
terrymanu commented on issue #6805:
URL: https://github.com/apache/shardingsphere/issues/6805#issuecomment-678898265


   Invalid description of `sub-library`.
   Closed because of no response anymore. 


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



[GitHub] [shardingsphere] tristaZero commented on issue #6805: Springboot integrates shardingjdbc only sub-library uses hint strategy configuration problem

Posted by GitBox <gi...@apache.org>.
tristaZero commented on issue #6805:
URL: https://github.com/apache/shardingsphere/issues/6805#issuecomment-673313281


   Hi @zundaren If the version you used is prior to `4.1.1` (including), can you consider `defaultDataSource` for non-sharding tables?
   `Our master branch` has an improvement for your scenario. Please look forward to our next release.
   
   Thanks,
   Trista


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



[GitHub] [shardingsphere] terrymanu closed issue #6805: Springboot integrates shardingjdbc only sub-library uses hint strategy configuration problem

Posted by GitBox <gi...@apache.org>.
terrymanu closed issue #6805:
URL: https://github.com/apache/shardingsphere/issues/6805


   


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



[GitHub] [shardingsphere] Lucas-307 commented on issue #6805: Springboot integrates shardingjdbc only sub-library uses hint strategy configuration problem

Posted by GitBox <gi...@apache.org>.
Lucas-307 commented on issue #6805:
URL: https://github.com/apache/shardingsphere/issues/6805#issuecomment-673222376


   Sorry, Your description is too difficult to understand and used some of your own vocabulary. Please revise it and reply again.


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