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 13:02:49 UTC

[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

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