ssxlulu commented on issue #4910: how to integerating sharding and non-sharding 
transaction with xa 
URL: 
https://github.com/apache/incubator-shardingsphere/issues/4910#issuecomment-604237131
 
 
   You can use Begin ... COMMIT around your sqls.
   Like this:
   ```
   BEGIN;
   UPDATE TABLE non-sharding-table SET name = 'xiaoming' WHERE id = 1;
   UPDATE TABLE sharding-table SET name = 'xiaoming' WHERE id = 1;
   COMMIT;
   ```
   For ss, we will treat these sqls as one transaction.

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to