heqiao commented on issue #7703: URL: https://github.com/apache/shardingsphere/issues/7703#issuecomment-714255537
Actually.... after a second read through of the above conversation, Trista's suggestion makes more sense. The set clause should not have sharding key. So the sharding key should not be updatable. And this solves the problem. `@Column(name = "xxx", updatable = false)` I think I need a Rubber Duck. ---------------------------------------------------------------- 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: [email protected]
