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/12/09 07:31:11 UTC

[GitHub] [shardingsphere] tristaZero edited a comment on issue #8514: sharding replica query exception: java.lang.reflect.InvocationTargetException: null

tristaZero edited a comment on issue #8514:
URL: https://github.com/apache/shardingsphere/issues/8514#issuecomment-741590299


   Hi @suikenungleung ,
   
   > According to application-sharding-replica-query.properties Delete redundant configuration,The same error after modification.
   
   No, that's a misunderstanding. What I want you to try is to use the following items to add `sharding algorithm` configurations.
   
   ```xml
   spring.shardingsphere.rules.sharding.sharding-algorithms.database-inline.type=INLINE
   spring.shardingsphere.rules.sharding.sharding-algorithms.database-inline.props.algorithm-expression=ds-$->{id % 2}
   ```


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