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/07/07 09:52:18 UTC

[GitHub] [shardingsphere] smallericcc opened a new issue #6292: sorry to bother, how can i get the shardingRule that i config in xml file? i want to user the sharding rule in java class. thanks

smallericcc opened a new issue #6292:
URL: https://github.com/apache/shardingsphere/issues/6292


   ## Question
   
   **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.

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



[GitHub] [shardingsphere] kimmking commented on issue #6292: sorry to bother, how can i get the shardingRule that i config in xml file? i want to user the sharding rule in java class. thanks

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


   I think we should close this issue.


----------------------------------------------------------------
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] xbkaishui commented on issue #6292: sorry to bother, how can i get the shardingRule that i config in xml file? i want to user the sharding rule in java class. thanks

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


   you can convert the DataSource to ShardingSphereDataSource, in this class , it has rule configs,  this is a hack way 


----------------------------------------------------------------
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] menghaoranss commented on issue #6292: sorry to bother, how can i get the shardingRule that i config in xml file? i want to user the sharding rule in java class. thanks

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


   @smallericcc you can refer to : https://shardingsphere.apache.org/document/legacy/4.x/document/cn/manual/sharding-jdbc/configuration/config-spring-namespace/


----------------------------------------------------------------
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] menghaoranss closed issue #6292: sorry to bother, how can i get the shardingRule that i config in xml file? i want to user the sharding rule in java class. thanks

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


   


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