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

[GitHub] [shardingsphere] sxz1314 opened a new issue, #25500: One table and two routing rules are specified through code?

sxz1314 opened a new issue, #25500:
URL: https://github.com/apache/shardingsphere/issues/25500

   I have customized a multi field sharding rule for a table, and I would like to know how to configure a MyBATIS batch SQL using mandatory routing, as not using mandatory routing will result in multiple multi field sharding rules being used. Very slow


-- 
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.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


[GitHub] [shardingsphere] sxz1314 commented on issue #25500: One table and two routing rules are specified through code?

Posted by "sxz1314 (via GitHub)" <gi...@apache.org>.
sxz1314 commented on issue #25500:
URL: https://github.com/apache/shardingsphere/issues/25500#issuecomment-1537602713

   > 我不确定这个[文档](https://shardingsphere.apache.org/document/current/cn/user-manual/common-config/sql-hint/)是否可以帮助你
   
   I configured composite sharding through the configuration file, but I want to use mandatory routing in my program. What should I do


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


[GitHub] [shardingsphere] FlyingZC commented on issue #25500: One table and two routing rules are specified through code?

Posted by "FlyingZC (via GitHub)" <gi...@apache.org>.
FlyingZC commented on issue #25500:
URL: https://github.com/apache/shardingsphere/issues/25500#issuecomment-1537651910

   You can use `/* SHARDINGSPHERE_HINT: DATA_SOURCE_NAME=ds_0 */ SELECT * FROM t_order;` to specify data source.


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


[GitHub] [shardingsphere] sxz1314 commented on issue #25500: One table and two routing rules are specified through code?

Posted by "sxz1314 (via GitHub)" <gi...@apache.org>.
sxz1314 commented on issue #25500:
URL: https://github.com/apache/shardingsphere/issues/25500#issuecomment-1545282444

   https://gitee.com/sxz1314/shanrdingjdbc-dynamics-rule
   I wrote a demo to implement dynamic routin


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


[GitHub] [shardingsphere] zhaojinchao95 commented on issue #25500: One table and two routing rules are specified through code?

Posted by "zhaojinchao95 (via GitHub)" <gi...@apache.org>.
zhaojinchao95 commented on issue #25500:
URL: https://github.com/apache/shardingsphere/issues/25500#issuecomment-1537426085

   I'm not sure if this [doc](https://shardingsphere.apache.org/document/current/cn/user-manual/common-config/sql-hint/) can help you


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


[GitHub] [shardingsphere] sxz1314 closed issue #25500: One table and two routing rules are specified through code?

Posted by "sxz1314 (via GitHub)" <gi...@apache.org>.
sxz1314 closed issue #25500: One table and two routing rules are specified through code?
URL: https://github.com/apache/shardingsphere/issues/25500


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


[GitHub] [shardingsphere] sxz1314 closed issue #25500: One table and two routing rules are specified through code?

Posted by "sxz1314 (via GitHub)" <gi...@apache.org>.
sxz1314 closed issue #25500: One table and two routing rules are specified through code?
URL: https://github.com/apache/shardingsphere/issues/25500


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