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

[GitHub] [shardingsphere] whaceyou opened a new issue, #24428: about sharding algorithms will be instanced three times

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

   ## Question
   when I use class_base sharding algorithms like this ,the algorithms class will be instanced three times and the instance will not be managed by spring
   ![image](https://user-images.githubusercontent.com/59213102/222448626-1867833e-3d4e-4efb-9c5e-2d31a07e7eba.png)
   ![image](https://user-images.githubusercontent.com/59213102/222448721-af851f18-6410-437c-9a2d-6ed2aae57560.png)
   
   **For English only**, other languages will not accept.
   
   Before asking a question, make sure you have:
   
   - Googled your question.
   - Searched open and closed [GitHub issues](https://github.com/apache/shardingsphere/issues).
   - Read documentation: [ShardingSphere Doc](https://shardingsphere.apache.org/document/current/en/overview).
   
   Please pay attention on issues you submitted, because we maybe need more details. 
   If no response anymore and we cannot reproduce it on current information, we will **close it**.
   


-- 
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] whaceyou commented on issue #24428: about sharding algorithms will be instanced three times

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

   the version is  org.apache.shardingsphere:shardingsphere-jdbc-core-spring-boot-starter:5.2.1


-- 
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] RaigorJiang commented on issue #24428: about sharding algorithms will be instanced three times

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

   Hi @whaceyou 
   Thanks for your feedback. 
   The integration way of ShardingSphere and Spring has changed since 5.3.0. You can try the latest version.


-- 
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] whaceyou commented on issue #24428: about sharding algorithms will be instanced three times

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

   ok ,I'll try it,Thank 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] whaceyou commented on issue #24428: about sharding algorithms will be instanced three times

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

   ![image](https://user-images.githubusercontent.com/59213102/222450223-c0e9f479-8fac-482d-b42f-5b2b0fab5452.png)
   


-- 
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] whaceyou closed issue #24428: about sharding algorithms will be instanced three times

Posted by "whaceyou (via GitHub)" <gi...@apache.org>.
whaceyou closed issue #24428: about sharding algorithms will be instanced three times
URL: https://github.com/apache/shardingsphere/issues/24428


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