You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@shardingsphere.apache.org by GitBox <gi...@apache.org> on 2019/01/23 05:52:48 UTC

[GitHub] KomachiSion commented on issue #1798: spring JPA simple sql update error

KomachiSion commented on issue #1798: spring JPA simple sql update error
URL: https://github.com/apache/incubator-shardingsphere/issues/1798#issuecomment-456679490
 
 
   Hi @ppj19891020. There is one contradiction in your configuration.
   You describe your key generator column is `traceId`, but in configuration is `id`
   > table: push_message
   > KeyGeneratorColumnName:traceId
   
   ```
           //分布式主键
           orderTableRuleConfig.setKeyGeneratorColumnName("id");
           orderTableRuleConfig.setKeyGenerator(shardingKeygen);
   ```
   
   So, is a configuration error or description error?

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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


With regards,
Apache Git Services