qiuxiaotong2021 opened a new issue #12325:
URL: https://github.com/apache/shardingsphere/issues/12325


   ## Question
   
   Considering many scenarios, JPA is also widely used in addition to mybatis, 
JDBC, or other ORM frameworks, but there is no example of spring boot JPA 
updating the entity object from the existing examples. 
   
   I wish to supplement one in this link, which is of great guiding help to 
many developers. thank you.
   
   - example link:
   
https://github.com/apache/shardingsphere/blob/master/examples/example-core/example-spring-jpa/src/main/java/org/apache/shardingsphere/example/core/jpa/service/OrderServiceImpl.java
   
   - tips:
   When using the spring boot JPA framework to update the entity object, I 
believe you will also encounter the problem of feedback from this link: 
https://github.com/apache/shardingsphere/issues/8392
   
   - My thoughts are as follows:
   In terms of the logic of shardingsphere(jdbc) documents, it does violate the 
requirement that updating sharding keys on the underlying SQL logic is not 
supported, but the underlying layer of JPA framework is beyond the control of 
ordinary developers. Therefore, as our excellent and powerful 
shardingsphere(jdbc) framework, it is recommended to further integrate the 
update logic of JPA framework to make it easier for ordinary developers to use.
   
   Thanks very much.
   
   


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

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to